#4A148C

Indigo

#4A148CIndigo

Luminance

0.038

Category

Purple

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#4A148C
No #
4A148C

RGB

RGB
rgb(74, 20, 140)
Values
R:74 G:20 B:140

HSL

HSL
hsl(267, 75%, 31%)
Values
H:267° S:75% L:31%

HSV / HSB

HSV
hsv(267, 86%, 55%)
Values
H:267° S:86% V:55%

CMYK

CMYK
cmyk(47%, 86%, 0%, 45%)
Values
C:47 M:86 Y:0 K:45

LAB

LAB
lab(23, 49, -55)
Values
L:23 a:49 b:-55

OKLCH

OKLCH
oklch(36.0% 0.176 296.3)
Values
L:36.0% C:0.176 H:296.3°

Code Formats

CSS
color: #4A148C;
Swift
UIColor(red: 0.290, green: 0.078, blue: 0.549, alpha: 1.0)
Kotlin
Color(0xFF4A148C)
Flutter
Color(0xFF4A148C)
Android
#FF4A148C

Contrast Analysis

WCAG compliance with grayscale colors

On White

11.86:1

AAA

On Black

1.77:1

Fail

Grayscale Contrast

Aa

0%

1.8

Fail
Aa

10%

1.5

Fail
Aa

20%

1.1

Fail
Aa

30%

1.4

Fail
Aa

40%

2.1

Fail
Aa

50%

3.0

Fail
Aa

60%

4.2

AA-large
Aa

70%

5.7

AA
Aa

80%

7.4

AAA
Aa

90%

9.4

AAA
Aa

100%

11.9

AAA

Best Grayscale Contrast

#FFFFFF with ratio 11.86:1

Aa

Color Harmonies

Harmonious color combinations

complementary

Two colors opposite on the color wheel (180°)

split-complementary

Base color + two colors adjacent to its complement

triadic

Three colors evenly spaced (120° apart)

tetradic

Four colors evenly spaced (90° apart)

analogous

Three colors adjacent on the color wheel (30° apart)

Color Variations

Tints, shades, tones, and full scale

Color Scale (50-900)

50

100

200

300

400

500

600

700

800

900

Tints (Lighter)

Shades (Darker)

Tones (Desaturated)

Gradients (OKLCH)

Primary

90°
CSS
linear-gradient(90deg, #7924E0 0%, #3B1070 100%)
OKLCH
linear-gradient(90deg, oklch(50.7% 0.252 296.1) 0%, oklch(31.0% 0.148 296.7) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #5F0AC7 0%, #5C00CC 100%)
OKLCH
linear-gradient(135deg, oklch(44.0% 0.240 292.2) 0%, oklch(43.8% 0.248 290.3) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #4A148C 0%, #558A14 100%)
OKLCH
linear-gradient(90deg, oklch(36.0% 0.176 296.3) 0%, oklch(57.4% 0.152 132.1) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #141A8A 0%, #4A148C 50%, #84148A 100%)
OKLCH
linear-gradient(90deg, oklch(31.8% 0.177 268.7) 0%, oklch(36.0% 0.176 296.3) 50%, oklch(44.2% 0.191 325.8) 100%)
Stops
0%
50%
100%

Sunset

90°
CSS
linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)
OKLCH
linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)
Stops
0%
50%
100%

Ocean

135°
CSS
linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)
OKLCH
linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)
Stops
0%
50%
100%

Dark Mode

180°
CSS
linear-gradient(180deg, #49148A 0%, #1D112C 100%)
OKLCH
linear-gradient(180deg, oklch(35.7% 0.174 296.3) 0%, oklch(20.9% 0.053 302.6) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #6D1DCD 0%, #471386 100%)
OKLCH
radial-gradient(circle, oklch(47.1% 0.237 295.8) 0%, oklch(35.0% 0.171 296.5) 100%)
Stops
0%
100%

💡 About OKLCH Gradients

OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).

Generate Full Palette

Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.

View Palette