#4F209F#4F209F

#4F209F is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.187 H 292.4°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#4F209F
RGBrgb(79, 32, 159)
HSLhsl(262, 66%, 37%)
HSVhsv(262, 80%, 62%)
CMYKcmyk(50.3%, 79.9%, 0%, 37.6%)
CIE-LABlab(27.29, 49.42, -60.07)
CIE-LCHlch(27.29, 77.78, 309.44°)
OKLaboklab(39.57% 0.0711 -0.1725)
OKLCHoklch(39.57% 0.187 292.4)
XYZxyz(9.9972, 5.1981, 33.2708)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F209F #709F20
analogous
#20309F #4F209F #8F209F
triadic
#4F209F #9F4F20 #209F4F
tetradic
#4F209F #9F2030 #709F20 #209F8F
square
#4F209F #9F2030 #709F20 #209F8F
split-complementary
#4F209F #9F8F20 #309F20
monochromatic
#1C0B39 #36166C #4F209F #682AD2 #8C5BDE

Accessibility & contrast

On white

10.30
#4F209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4F209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F209F
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F209F#FFFFFF#000000##FFFFFF
##4F209F1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#354460
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f209f;
/* rgb */ color: rgb(79, 32, 159);
/* oklch */ color: oklch(39.6% 0.187 292.4);
Tailwind
colors: {
  custom: {
    50: '#8962bc',
    500: '#4f209f',
    950: '#000000',
  },
}
SCSS
$custom: #4f209f;
$custom-light: #8962bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f209f",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 262.205,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39573,
    "c": 0.18657,
    "h": 292.4
  },
  "luminance": 0.05198
}

Semantic roles & 50–950 ramp

primary
#4F209F
secondary
#9BC259
accent
#E93EAA
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0D0512
muted
#7D7A81

Preview Lab

Preview with #4F209F

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

Preview Lab → · Contrast checker → · Palette generator →

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