#4F209D#4F209D

#4F209D is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.184 H 292.9°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#4F209D
RGBrgb(79, 32, 157)
HSLhsl(263, 66%, 37%)
HSVhsv(263, 80%, 62%)
CMYKcmyk(49.7%, 79.6%, 0%, 38.4%)
CIE-LABlab(27.10, 48.88, -59.16)
CIE-LCHlch(27.10, 76.75, 309.56°)
OKLaboklab(39.38% 0.0717 -0.1698)
OKLCHoklch(39.38% 0.184 292.9)
XYZxyz(9.8251, 5.1293, 32.3641)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F209D #6E9D20
analogous
#202F9D #4F209D #8E209D
triadic
#4F209D #9D4F20 #209D4F
tetradic
#4F209D #9D202F #6E9D20 #209D8E
square
#4F209D #9D202F #6E9D20 #209D8E
split-complementary
#4F209D #9D8E20 #2F9D20
monochromatic
#1C0B37 #35166A #4F209D #692AD0 #8B5ADD

Accessibility & contrast

On white

10.37
#4F209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4F209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F209D
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F209D#FFFFFF#000000##FFFFFF
##4F209D1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#36445E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f209d;
/* rgb */ color: rgb(79, 32, 157);
/* oklch */ color: oklch(39.4% 0.184 292.9);
Tailwind
colors: {
  custom: {
    50: '#8962bb',
    500: '#4f209d',
    950: '#000000',
  },
}
SCSS
$custom: #4f209d;
$custom-light: #8962bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f209d",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 262.56,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39381,
    "c": 0.18437,
    "h": 292.9
  },
  "luminance": 0.0513
}

Semantic roles & 50–950 ramp

primary
#4F209D
secondary
#9AC157
accent
#E93FA9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4F209D

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

Preview Lab → · Contrast checker → · Palette generator →

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