#4F1867#4F1867

#4F1867 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.8% C 0.135 H 313.4°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#4F1867
RGBrgb(79, 24, 103)
HSLhsl(282, 62%, 25%)
HSVhsv(282, 77%, 40%)
CMYKcmyk(23.3%, 76.7%, 0%, 59.6%)
CIE-LABlab(21.19, 38.78, -34.74)
CIE-LCHlch(21.19, 52.06, 318.14°)
OKLaboklab(33.78% 0.0926 -0.0981)
OKLCHoklch(33.78% 0.135 313.4)
XYZxyz(5.9988, 3.2950, 13.1493)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1867 #306718
analogous
#271867 #4F1867 #671858
triadic
#4F1867 #674F18 #18674F
tetradic
#4F1867 #672718 #306718 #185867
square
#4F1867 #672718 #306718 #185867
split-complementary
#4F1867 #586718 #186727
monochromatic
#130619 #290C35 #4F1867 #752499 #9B2FCA

Accessibility & contrast

On white

12.66
#4F1867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4F1867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1867
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1867#FFFFFF#000000##FFFFFF
##4F18671.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003069
Deuteranopia (green-blind)
#113465
Tritanopia (blue-blind)
#4C293E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4f1867;
/* rgb */ color: rgb(79, 24, 103);
/* oklch */ color: oklch(33.8% 0.135 313.4);
Tailwind
colors: {
  custom: {
    50: '#845b93',
    500: '#4f1867',
    950: '#000000',
  },
}
SCSS
$custom: #4f1867;
$custom-light: #845b93;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1867",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 281.772,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33779,
    "c": 0.13488,
    "h": 313.4
  },
  "luminance": 0.03295
}

Semantic roles & 50–950 ramp

primary
#4F1867
secondary
#5B9D3E
accent
#E54374
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1867

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

Preview Lab → · Contrast checker → · Palette generator →

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