#4F1C90#4F1C90

#4F1C90 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.174 H 297.0°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#4F1C90
RGBrgb(79, 28, 144)
HSLhsl(266, 67%, 34%)
HSVhsv(266, 81%, 56%)
CMYKcmyk(45.1%, 80.6%, 0%, 43.5%)
CIE-LABlab(25.28, 47.17, -54.16)
CIE-LCHlch(25.28, 71.82, 311.06°)
OKLaboklab(37.74% 0.0789 -0.1551)
OKLCHoklch(37.74% 0.174 297)
XYZxyz(8.6724, 4.5062, 26.7930)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1C90 #5D901C
analogous
#1C2390 #4F1C90 #891C90
triadic
#4F1C90 #904F1C #1C904F
tetradic
#4F1C90 #901C23 #5D901C #1C9089
square
#4F1C90 #901C23 #5D901C #1C9089
split-complementary
#4F1C90 #90891C #23901C
monochromatic
#17082A #33125D #4F1C90 #6B26C3 #8A4ADC

Accessibility & contrast

On white

11.05
#4F1C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4F1C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1C90
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1C90#FFFFFF#000000##FFFFFF
##4F1C901.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#3D3C56
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4f1c90;
/* rgb */ color: rgb(79, 28, 144);
/* oklch */ color: oklch(37.7% 0.174 297.0);
Tailwind
colors: {
  custom: {
    50: '#875fb2',
    500: '#4f1c90',
    950: '#000000',
  },
}
SCSS
$custom: #4f1c90;
$custom-light: #875fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1c90",
  "rgb": {
    "r": 79,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 266.379,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37739,
    "c": 0.17406,
    "h": 297
  },
  "luminance": 0.04506
}

Semantic roles & 50–950 ramp

primary
#4F1C90
secondary
#8BBE4A
accent
#EA3D9E
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4F1C90

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

Preview Lab → · Contrast checker → · Palette generator →

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