#4A106E#4A106E

#4A106E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.149 H 307.7°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#4A106E
RGBrgb(74, 16, 110)
HSLhsl(277, 75%, 25%)
HSVhsv(277, 85%, 43%)
CMYKcmyk(32.7%, 85.5%, 0%, 56.9%)
CIE-LABlab(19.85, 42.58, -41.51)
CIE-LCHlch(19.85, 59.46, 315.73°)
OKLaboklab(32.85% 0.0913 -0.1181)
OKLCHoklch(32.85% 0.149 307.7)
XYZxyz(5.8232, 2.9523, 15.0119)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A106E #346E10
analogous
#1B106E #4A106E #6E1063
triadic
#4A106E #6E4A10 #106E4A
tetradic
#4A106E #6E1B10 #346E10 #10636E
square
#4A106E #6E1B10 #346E10 #10636E
split-complementary
#4A106E #636E10 #106E1B
monochromatic
#12041B #260839 #4A106E #6E18A3 #9220D9

Accessibility & contrast

On white

13.20
#4A106E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4A106E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A106E
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A106E#FFFFFF#000000##FFFFFF
##4A106E1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#00306C
Tritanopia (blue-blind)
#442940
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4a106e;
/* rgb */ color: rgb(74, 16, 110);
/* oklch */ color: oklch(32.9% 0.149 307.7);
Tailwind
colors: {
  custom: {
    50: '#815798',
    500: '#4a106e',
    950: '#000000',
  },
}
SCSS
$custom: #4a106e;
$custom-light: #815798;
$custom-dark: #000000;
JSON
{
  "hex": "#4a106e",
  "rgb": {
    "r": 74,
    "g": 16,
    "b": 110
  },
  "hsl": {
    "h": 277.021,
    "s": 74.603,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32852,
    "c": 0.14924,
    "h": 307.7
  },
  "luminance": 0.02952
}

Semantic roles & 50–950 ramp

primary
#4A106E
secondary
#60A634
accent
#F1377E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #4A106E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4A106E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva