#4F2392#4F2392

#4F2392 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.169 H 295.4°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#4F2392
RGBrgb(79, 35, 146)
HSLhsl(264, 61%, 35%)
HSVhsv(264, 76%, 57%)
CMYKcmyk(45.9%, 76%, 0%, 42.7%)
CIE-LABlab(26.56, 44.55, -53.30)
CIE-LCHlch(26.56, 69.46, 309.89°)
OKLaboklab(38.69% 0.0724 -0.1527)
OKLCHoklch(38.69% 0.169 295.4)
XYZxyz(9.0124, 4.9394, 27.6671)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2392 #669223
analogous
#232E92 #4F2392 #862392
triadic
#4F2392 #924F23 #23924F
tetradic
#4F2392 #92232E #669223 #239286
square
#4F2392 #92232E #669223 #239286
split-complementary
#4F2392 #928623 #2E9223
monochromatic
#1A0B2F #341761 #4F2392 #6A2FC3 #8B58D7

Accessibility & contrast

On white

10.56
#4F2392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4F2392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2392
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2392#FFFFFF#000000##FFFFFF
##4F23921.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003D90
Tritanopia (blue-blind)
#3C4059
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f2392;
/* rgb */ color: rgb(79, 35, 146);
/* oklch */ color: oklch(38.7% 0.169 295.4);
Tailwind
colors: {
  custom: {
    50: '#8763b3',
    500: '#4f2392',
    950: '#000000',
  },
}
SCSS
$custom: #4f2392;
$custom-light: #8763b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2392",
  "rgb": {
    "r": 79,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 263.784,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38692,
    "c": 0.16895,
    "h": 295.4
  },
  "luminance": 0.0494
}

Semantic roles & 50–950 ramp

primary
#4F2392
secondary
#93BB55
accent
#E443A5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4F2392

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

Preview Lab → · Contrast checker → · Palette generator →

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