#4F206B#4F206B

#4F206B is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.128 H 310.2°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#4F206B
RGBrgb(79, 32, 107)
HSLhsl(278, 54%, 27%)
HSVhsv(278, 70%, 42%)
CMYKcmyk(26.2%, 70.1%, 0%, 58%)
CIE-LABlab(22.85, 35.89, -34.67)
CIE-LCHlch(22.85, 49.90, 316.00°)
OKLaboklab(35.06% 0.0827 -0.0979)
OKLCHoklch(35.06% 0.128 310.2)
XYZxyz(6.3943, 3.7570, 14.2954)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F206B #3C6B20
analogous
#2A206B #4F206B #6B2062
triadic
#4F206B #6B4F20 #206B4F
tetradic
#4F206B #6B2A20 #3C6B20 #20626B
square
#4F206B #6B2A20 #3C6B20 #20626B
split-complementary
#4F206B #626B20 #206B2A
monochromatic
#110718 #2C123C #4F206B #722E9A #9440C6

Accessibility & contrast

On white

11.99
#4F206B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#4F206B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F206B
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F206B#FFFFFF#000000##FFFFFF
##4F206B1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346D
Deuteranopia (green-blind)
#153769
Tritanopia (blue-blind)
#4B3042
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4f206b;
/* rgb */ color: rgb(79, 32, 107);
/* oklch */ color: oklch(35.1% 0.128 310.2);
Tailwind
colors: {
  custom: {
    50: '#835f96',
    500: '#4f206b',
    950: '#000000',
  },
}
SCSS
$custom: #4f206b;
$custom-light: #835f96;
$custom-dark: #000000;
JSON
{
  "hex": "#4f206b",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 107
  },
  "hsl": {
    "h": 277.6,
    "s": 53.957,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35061,
    "c": 0.12818,
    "h": 310.2
  },
  "luminance": 0.03757
}

Semantic roles & 50–950 ramp

primary
#4F206B
secondary
#689F48
accent
#DD4A81
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B050D
muted
#7C797E

Preview Lab

Preview with #4F206B

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

Preview Lab → · Contrast checker → · Palette generator →

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