#4F2385#4F2385

#4F2385 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.5% C 0.154 H 299.3°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#4F2385
RGBrgb(79, 35, 133)
HSLhsl(267, 58%, 33%)
HSVhsv(267, 74%, 52%)
CMYKcmyk(40.6%, 73.7%, 0%, 47.8%)
CIE-LABlab(25.44, 41.05, -47.05)
CIE-LCHlch(25.44, 62.44, 311.11°)
OKLaboklab(37.55% 0.0754 -0.1343)
OKLCHoklch(37.55% 0.154 299.3)
XYZxyz(8.0581, 4.5577, 22.6409)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2385 #598523
analogous
#232885 #4F2385 #802385
triadic
#4F2385 #854F23 #23854F
tetradic
#4F2385 #852328 #598523 #238580
square
#4F2385 #852328 #598523 #238580
split-complementary
#4F2385 #858023 #288523
monochromatic
#150924 #321655 #4F2385 #6C30B5 #8B51D1

Accessibility & contrast

On white

10.99
#4F2385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4F2385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2385
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2385#FFFFFF#000000##FFFFFF
##4F23851.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#423B51
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4f2385;
/* rgb */ color: rgb(79, 35, 133);
/* oklch */ color: oklch(37.5% 0.154 299.3);
Tailwind
colors: {
  custom: {
    50: '#8662a9',
    500: '#4f2385',
    950: '#000000',
  },
}
SCSS
$custom: #4f2385;
$custom-light: #8662a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2385",
  "rgb": {
    "r": 79,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 266.939,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37548,
    "c": 0.15402,
    "h": 299.3
  },
  "luminance": 0.04558
}

Semantic roles & 50–950 ramp

primary
#4F2385
secondary
#87B54F
accent
#E2469C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #4F2385

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

Preview Lab → · Contrast checker → · Palette generator →

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