#4F1F92#4F1F92

#4F1F92 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.173 H 296.0°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#4F1F92
RGBrgb(79, 31, 146)
HSLhsl(265, 65%, 35%)
HSVhsv(265, 79%, 57%)
CMYKcmyk(45.9%, 78.8%, 0%, 42.7%)
CIE-LABlab(25.91, 46.40, -54.36)
CIE-LCHlch(25.91, 71.47, 310.48°)
OKLaboklab(38.24% 0.0758 -0.1557)
OKLCHoklch(38.24% 0.173 296)
XYZxyz(8.9014, 4.7173, 27.6301)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1F92 #62921F
analogous
#1F2992 #4F1F92 #881F92
triadic
#4F1F92 #924F1F #1F924F
tetradic
#4F1F92 #921F29 #62921F #1F9288
square
#4F1F92 #921F29 #62921F #1F9288
split-complementary
#4F1F92 #92881F #29921F
monochromatic
#180A2D #341460 #4F1F92 #6A2AC4 #8A51DA

Accessibility & contrast

On white

10.80
#4F1F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4F1F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1F92
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1F92#FFFFFF#000000##FFFFFF
##4F1F921.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E95
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#3C3F58
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4f1f92;
/* rgb */ color: rgb(79, 31, 146);
/* oklch */ color: oklch(38.2% 0.173 296.0);
Tailwind
colors: {
  custom: {
    50: '#8761b3',
    500: '#4f1f92',
    950: '#000000',
  },
}
SCSS
$custom: #4f1f92;
$custom-light: #8761b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1f92",
  "rgb": {
    "r": 79,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 265.043,
    "s": 64.972,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38238,
    "c": 0.17323,
    "h": 296
  },
  "luminance": 0.04718
}

Semantic roles & 50–950 ramp

primary
#4F1F92
secondary
#8FBD50
accent
#E840A2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4F1F92

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

Preview Lab → · Contrast checker → · Palette generator →

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