#4F1990#4F1990

#4F1990 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.177 H 297.3°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#4F1990
RGBrgb(79, 25, 144)
HSLhsl(267, 70%, 33%)
HSVhsv(267, 83%, 56%)
CMYKcmyk(45.1%, 82.6%, 0%, 43.5%)
CIE-LABlab(24.86, 48.38, -54.84)
CIE-LCHlch(24.86, 73.13, 311.42°)
OKLaboklab(37.45% 0.0812 -0.1571)
OKLCHoklch(37.45% 0.177 297.3)
XYZxyz(8.6048, 4.3710, 26.7705)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1990 #5A9019
analogous
#191E90 #4F1990 #8A1990
triadic
#4F1990 #904F19 #19904F
tetradic
#4F1990 #90191E #5A9019 #19908A
square
#4F1990 #90191E #5A9019 #19908A
split-complementary
#4F1990 #908A19 #1E9019
monochromatic
#160728 #32105C #4F1990 #6C22C4 #8B45DF

Accessibility & contrast

On white

11.20
#4F1990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4F1990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1990
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1990#FFFFFF#000000##FFFFFF
##4F19901.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#003A8E
Tritanopia (blue-blind)
#3E3B55
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4f1990;
/* rgb */ color: rgb(79, 25, 144);
/* oklch */ color: oklch(37.4% 0.177 297.3);
Tailwind
colors: {
  custom: {
    50: '#885eb2',
    500: '#4f1990',
    950: '#000000',
  },
}
SCSS
$custom: #4f1990;
$custom-light: #885eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1990",
  "rgb": {
    "r": 79,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 267.227,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37449,
    "c": 0.17686,
    "h": 297.3
  },
  "luminance": 0.04371
}

Semantic roles & 50–950 ramp

primary
#4F1990
secondary
#88C045
accent
#ED3B9C
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4F1990

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

Preview Lab → · Contrast checker → · Palette generator →

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