#4F2185#4F2185

#4F2185 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.156 H 299.6°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#4F2185
RGBrgb(79, 33, 133)
HSLhsl(268, 60%, 33%)
HSVhsv(268, 75%, 52%)
CMYKcmyk(40.6%, 75.2%, 0%, 47.8%)
CIE-LABlab(25.09, 42.04, -47.62)
CIE-LCHlch(25.09, 63.52, 311.44°)
OKLaboklab(37.3% 0.0774 -0.136)
OKLCHoklch(37.3% 0.156 299.6)
XYZxyz(8.0009, 4.4433, 22.6219)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2185 #578521
analogous
#212585 #4F2185 #812185
triadic
#4F2185 #854F21 #21854F
tetradic
#4F2185 #852125 #578521 #218581
square
#4F2185 #852125 #578521 #218581
split-complementary
#4F2185 #858121 #258521
monochromatic
#150923 #321554 #4F2185 #6C2DB6 #8B4DD3

Accessibility & contrast

On white

11.12
#4F2185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4F2185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2185
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2185#FFFFFF#000000##FFFFFF
##4F21851.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#423A51
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4f2185;
/* rgb */ color: rgb(79, 33, 133);
/* oklch */ color: oklch(37.3% 0.156 299.6);
Tailwind
colors: {
  custom: {
    50: '#8661a9',
    500: '#4f2185',
    950: '#000000',
  },
}
SCSS
$custom: #4f2185;
$custom-light: #8661a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2185",
  "rgb": {
    "r": 79,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 267.6,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.373,
    "c": 0.15647,
    "h": 299.6
  },
  "luminance": 0.04443
}

Semantic roles & 50–950 ramp

primary
#4F2185
secondary
#85B64C
accent
#E3449A
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F2185

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

Preview Lab → · Contrast checker → · Palette generator →

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