#4F209B#4F209B

#4F209B is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.182 H 293.4°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#4F209B
RGBrgb(79, 32, 155)
HSLhsl(263, 66%, 37%)
HSVhsv(263, 79%, 61%)
CMYKcmyk(49%, 79.4%, 0%, 39.2%)
CIE-LABlab(26.91, 48.35, -58.26)
CIE-LCHlch(26.91, 75.70, 309.69°)
OKLaboklab(39.19% 0.0723 -0.1672)
OKLCHoklch(39.19% 0.182 293.4)
XYZxyz(9.6557, 5.0615, 31.4722)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F209B #6C9B20
analogous
#202F9B #4F209B #8D209B
triadic
#4F209B #9B4F20 #209B4F
tetradic
#4F209B #9B202F #6C9B20 #209B8D
square
#4F209B #9B202F #6C9B20 #209B8D
split-complementary
#4F209B #9B8D20 #2F9B20
monochromatic
#1B0B36 #351668 #4F209B #692ACE #8B59DD

Accessibility & contrast

On white

10.44
#4F209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4F209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F209B
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F209B#FFFFFF#000000##FFFFFF
##4F209B1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#37435D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4f209b;
/* rgb */ color: rgb(79, 32, 155);
/* oklch */ color: oklch(39.2% 0.182 293.4);
Tailwind
colors: {
  custom: {
    50: '#8962ba',
    500: '#4f209b',
    950: '#000000',
  },
}
SCSS
$custom: #4f209b;
$custom-light: #8962ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4f209b",
  "rgb": {
    "r": 79,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 262.927,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3919,
    "c": 0.18217,
    "h": 293.4
  },
  "luminance": 0.05062
}

Semantic roles & 50–950 ramp

primary
#4F209B
secondary
#98C156
accent
#E93FA8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4F209B

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

Preview Lab → · Contrast checker → · Palette generator →

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