#4F1668#4F1668

#4F1668 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.6% C 0.138 H 313.1°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#4F1668
RGBrgb(79, 22, 104)
HSLhsl(282, 65%, 25%)
HSVhsv(282, 79%, 41%)
CMYKcmyk(24%, 78.8%, 0%, 59.2%)
CIE-LABlab(20.96, 39.86, -35.76)
CIE-LCHlch(20.96, 53.55, 318.11°)
OKLaboklab(33.64% 0.0946 -0.101)
OKLCHoklch(33.64% 0.138 313.1)
XYZxyz(6.0096, 3.2357, 13.4020)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1668 #2F6816
analogous
#261668 #4F1668 #681658
triadic
#4F1668 #684F16 #16684F
tetradic
#4F1668 #682616 #2F6816 #165868
square
#4F1668 #682616 #2F6816 #165868
split-complementary
#4F1668 #586816 #166826
monochromatic
#130519 #290B35 #4F1668 #75219B #9C2BCD

Accessibility & contrast

On white

12.75
#4F1668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4F1668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1668
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1668#FFFFFF#000000##FFFFFF
##4F16681.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306A
Deuteranopia (green-blind)
#0D3466
Tritanopia (blue-blind)
#4C293E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4f1668;
/* rgb */ color: rgb(79, 22, 104);
/* oklch */ color: oklch(33.6% 0.138 313.1);
Tailwind
colors: {
  custom: {
    50: '#845a94',
    500: '#4f1668',
    950: '#000000',
  },
}
SCSS
$custom: #4f1668;
$custom-light: #845a94;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1668",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 281.707,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33644,
    "c": 0.13839,
    "h": 313.1
  },
  "luminance": 0.03236
}

Semantic roles & 50–950 ramp

primary
#4F1668
secondary
#5A9F3B
accent
#E84073
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4F1668

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

Preview Lab → · Contrast checker → · Palette generator →

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