#4F2489#4F2489

#4F2489 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.157 H 297.8°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#4F2489
RGBrgb(79, 36, 137)
HSLhsl(266, 58%, 34%)
HSVhsv(266, 74%, 54%)
CMYKcmyk(42.3%, 73.7%, 0%, 46.3%)
CIE-LABlab(25.95, 41.62, -48.71)
CIE-LCHlch(25.95, 64.07, 310.51°)
OKLaboklab(38.02% 0.0735 -0.1392)
OKLCHoklch(38.02% 0.157 297.8)
XYZxyz(8.3695, 4.7300, 24.1341)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2489 #5E8924
analogous
#242B89 #4F2489 #822489
triadic
#4F2489 #894F24 #24894F
tetradic
#4F2489 #89242B #5E8924 #248982
square
#4F2489 #89242B #5E8924 #248982
split-complementary
#4F2489 #898224 #2B8924
monochromatic
#170B28 #331759 #4F2489 #6B31B9 #8A55D2

Accessibility & contrast

On white

10.79
#4F2489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4F2489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2489
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2489#FFFFFF#000000##FFFFFF
##4F24891.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#413D54
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4f2489;
/* rgb */ color: rgb(79, 36, 137);
/* oklch */ color: oklch(38.0% 0.157 297.8);
Tailwind
colors: {
  custom: {
    50: '#8663ac',
    500: '#4f2489',
    950: '#000000',
  },
}
SCSS
$custom: #4f2489;
$custom-light: #8663ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2489",
  "rgb": {
    "r": 79,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 265.545,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38019,
    "c": 0.15742,
    "h": 297.8
  },
  "luminance": 0.0473
}

Semantic roles & 50–950 ramp

primary
#4F2489
secondary
#8CB752
accent
#E2469F
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #4F2489

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

Preview Lab → · Contrast checker → · Palette generator →

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