#4A0E6E#4A0E6E

#4A0E6E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.151 H 307.9°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#4A0E6E
RGBrgb(74, 14, 110)
HSLhsl(278, 77%, 24%)
HSVhsv(278, 87%, 43%)
CMYKcmyk(32.7%, 87.3%, 0%, 56.9%)
CIE-LABlab(19.62, 43.25, -41.88)
CIE-LCHlch(19.62, 60.21, 315.92°)
OKLaboklab(32.69% 0.0928 -0.1192)
OKLCHoklch(32.69% 0.151 307.9)
XYZxyz(5.7950, 2.8958, 15.0025)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A0E6E #326E0E
analogous
#1A0E6E #4A0E6E #6E0E62
triadic
#4A0E6E #6E4A0E #0E6E4A
tetradic
#4A0E6E #6E1A0E #326E0E #0E626E
square
#4A0E6E #6E1A0E #326E0E #0E626E
split-complementary
#4A0E6E #626E0E #0E6E1A
monochromatic
#12031B #250738 #4A0E6E #6F15A4 #931CDB

Accessibility & contrast

On white

13.30
#4A0E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4A0E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A0E6E
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A0E6E#FFFFFF#000000##FFFFFF
##4A0E6E1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#00306C
Tritanopia (blue-blind)
#442940
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4a0e6e;
/* rgb */ color: rgb(74, 14, 110);
/* oklch */ color: oklch(32.7% 0.151 307.9);
Tailwind
colors: {
  custom: {
    50: '#815698',
    500: '#4a0e6e',
    950: '#000000',
  },
}
SCSS
$custom: #4a0e6e;
$custom-light: #815698;
$custom-dark: #000000;
JSON
{
  "hex": "#4a0e6e",
  "rgb": {
    "r": 74,
    "g": 14,
    "b": 110
  },
  "hsl": {
    "h": 277.5,
    "s": 77.419,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32692,
    "c": 0.15103,
    "h": 307.9
  },
  "luminance": 0.02896
}

Semantic roles & 50–950 ramp

primary
#4A0E6E
secondary
#5DA631
accent
#F4347C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030E
muted
#7C787E

Preview Lab

Preview with #4A0E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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