#4F2289#4F2289

#4F2289 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.160 H 298.2°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#4F2289
RGBrgb(79, 34, 137)
HSLhsl(266, 60%, 34%)
HSVhsv(266, 75%, 54%)
CMYKcmyk(42.3%, 75.2%, 0%, 46.3%)
CIE-LABlab(25.60, 42.61, -49.28)
CIE-LCHlch(25.60, 65.15, 310.85°)
OKLaboklab(37.77% 0.0755 -0.1409)
OKLCHoklch(37.77% 0.16 298.2)
XYZxyz(8.3107, 4.6123, 24.1145)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2289 #5C8922
analogous
#222889 #4F2289 #822289
triadic
#4F2289 #894F22 #22894F
tetradic
#4F2289 #892228 #5C8922 #228982
square
#4F2289 #892228 #5C8922 #228982
split-complementary
#4F2289 #898222 #288922
monochromatic
#160A27 #331658 #4F2289 #6B2EBA #8A51D4

Accessibility & contrast

On white

10.92
#4F2289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4F2289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2289
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2289#FFFFFF#000000##FFFFFF
##4F22891.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#413C53
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4f2289;
/* rgb */ color: rgb(79, 34, 137);
/* oklch */ color: oklch(37.8% 0.160 298.2);
Tailwind
colors: {
  custom: {
    50: '#8662ac',
    500: '#4f2289',
    950: '#000000',
  },
}
SCSS
$custom: #4f2289;
$custom-light: #8662ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2289",
  "rgb": {
    "r": 79,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 266.214,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.3777,
    "c": 0.15983,
    "h": 298.2
  },
  "luminance": 0.04612
}

Semantic roles & 50–950 ramp

primary
#4F2289
secondary
#8AB84F
accent
#E3449E
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4F2289

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

Preview Lab → · Contrast checker → · Palette generator →

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