#4F2376#4F2376

#4F2376 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.137 H 304.8°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#4F2376
RGBrgb(79, 35, 118)
HSLhsl(272, 54%, 30%)
HSVhsv(272, 70%, 46%)
CMYKcmyk(33.1%, 70.3%, 0%, 53.7%)
CIE-LABlab(24.23, 37.11, -39.51)
CIE-LCHlch(24.23, 54.20, 313.20°)
OKLaboklab(36.31% 0.0779 -0.1122)
OKLCHoklch(36.31% 0.137 304.8)
XYZxyz(7.0948, 4.1724, 17.5676)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2376 #4A7623
analogous
#252376 #4F2376 #762374
triadic
#4F2376 #764F23 #23764F
tetradic
#4F2376 #762523 #4A7623 #237476
square
#4F2376 #762523 #4A7623 #237476
split-complementary
#4F2376 #747623 #237625
monochromatic
#100718 #2F1547 #4F2376 #6F31A5 #8E4AC9

Accessibility & contrast

On white

11.45
#4F2376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4F2376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2376
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2376#FFFFFF#000000##FFFFFF
##4F23761.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#063A74
Tritanopia (blue-blind)
#483649
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4f2376;
/* rgb */ color: rgb(79, 35, 118);
/* oklch */ color: oklch(36.3% 0.137 304.8);
Tailwind
colors: {
  custom: {
    50: '#84619e',
    500: '#4f2376',
    950: '#000000',
  },
}
SCSS
$custom: #4f2376;
$custom-light: #84619e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2376",
  "rgb": {
    "r": 79,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 271.807,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.36313,
    "c": 0.13655,
    "h": 304.8
  },
  "luminance": 0.04172
}

Semantic roles & 50–950 ramp

primary
#4F2376
secondary
#78A94C
accent
#DE4A8F
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4F2376

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

Preview Lab → · Contrast checker → · Palette generator →

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