#4F2183#4F2183

#4F2183 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.154 H 300.3°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#4F2183
RGBrgb(79, 33, 131)
HSLhsl(268, 60%, 32%)
HSVhsv(268, 75%, 51%)
CMYKcmyk(39.7%, 74.8%, 0%, 48.6%)
CIE-LABlab(24.92, 41.51, -46.64)
CIE-LCHlch(24.92, 62.43, 311.67°)
OKLaboklab(37.13% 0.0778 -0.1331)
OKLCHoklch(37.13% 0.154 300.3)
XYZxyz(7.8640, 4.3886, 21.9011)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2183 #558321
analogous
#212483 #4F2183 #802183
triadic
#4F2183 #834F21 #21834F
tetradic
#4F2183 #832124 #558321 #218380
square
#4F2183 #832124 #558321 #218380
split-complementary
#4F2183 #838021 #248321
monochromatic
#140821 #321552 #4F2183 #6C2DB4 #8B4CD2

Accessibility & contrast

On white

11.18
#4F2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4F2183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2183
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2183#FFFFFF#000000##FFFFFF
##4F21831.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#433950
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4f2183;
/* rgb */ color: rgb(79, 33, 131);
/* oklch */ color: oklch(37.1% 0.154 300.3);
Tailwind
colors: {
  custom: {
    50: '#8561a8',
    500: '#4f2183',
    950: '#000000',
  },
}
SCSS
$custom: #4f2183;
$custom-light: #8561a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2183",
  "rgb": {
    "r": 79,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 268.163,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37128,
    "c": 0.15419,
    "h": 300.3
  },
  "luminance": 0.04389
}

Semantic roles & 50–950 ramp

primary
#4F2183
secondary
#83B54B
accent
#E34599
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F2183

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

Preview Lab → · Contrast checker → · Palette generator →

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