#4F2176#4F2176

#4F2176 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.0% C 0.139 H 305.2°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#4F2176
RGBrgb(79, 33, 118)
HSLhsl(272, 56%, 30%)
HSVhsv(272, 72%, 46%)
CMYKcmyk(33.1%, 72%, 0%, 53.7%)
CIE-LABlab(23.86, 38.14, -40.11)
CIE-LCHlch(23.86, 55.35, 313.55°)
OKLaboklab(36.05% 0.0802 -0.1139)
OKLCHoklch(36.05% 0.139 305.2)
XYZxyz(7.0376, 4.0580, 17.5486)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2176 #487621
analogous
#252176 #4F2176 #762172
triadic
#4F2176 #764F21 #21764F
tetradic
#4F2176 #762521 #487621 #217276
square
#4F2176 #762521 #487621 #217276
split-complementary
#4F2176 #727621 #217625
monochromatic
#100718 #2F1446 #4F2176 #6F2EA6 #8E46CB

Accessibility & contrast

On white

11.59
#4F2176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4F2176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2176
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2176#FFFFFF#000000##FFFFFF
##4F21761.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003879
Deuteranopia (green-blind)
#023974
Tritanopia (blue-blind)
#483449
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4f2176;
/* rgb */ color: rgb(79, 33, 118);
/* oklch */ color: oklch(36.0% 0.139 305.2);
Tailwind
colors: {
  custom: {
    50: '#84609e',
    500: '#4f2176',
    950: '#000000',
  },
}
SCSS
$custom: #4f2176;
$custom-light: #84609e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2176",
  "rgb": {
    "r": 79,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 272.471,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.36047,
    "c": 0.13933,
    "h": 305.2
  },
  "luminance": 0.04058
}

Semantic roles & 50–950 ramp

primary
#4F2176
secondary
#75A94A
accent
#E0488E
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E

Preview Lab

Preview with #4F2176

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

Preview Lab → · Contrast checker → · Palette generator →

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