#4F1890#4F1890

#4F1890 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.4% C 0.178 H 297.4°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#4F1890
RGBrgb(79, 24, 144)
HSLhsl(268, 71%, 33%)
HSVhsv(268, 83%, 56%)
CMYKcmyk(45.1%, 83.3%, 0%, 43.5%)
CIE-LABlab(24.73, 48.77, -55.06)
CIE-LCHlch(24.73, 73.55, 311.53°)
OKLaboklab(37.36% 0.0819 -0.1577)
OKLCHoklch(37.36% 0.178 297.4)
XYZxyz(8.5838, 4.3290, 26.7635)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1890 #599018
analogous
#181D90 #4F1890 #8B1890
triadic
#4F1890 #904F18 #18904F
tetradic
#4F1890 #90181D #599018 #18908B
square
#4F1890 #90181D #599018 #18908B
split-complementary
#4F1890 #908B18 #1D9018
monochromatic
#150727 #320F5C #4F1890 #6C21C4 #8B43E0

Accessibility & contrast

On white

11.26
#4F1890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F1890
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1890#FFFFFF#000000##FFFFFF
##4F18901.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f1890;
/* rgb */ color: rgb(79, 24, 144);
/* oklch */ color: oklch(37.4% 0.178 297.4);
Tailwind
colors: {
  custom: {
    50: '#885db2',
    500: '#4f1890',
    950: '#000000',
  },
}
SCSS
$custom: #4f1890;
$custom-light: #885db2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1890",
  "rgb": {
    "r": 79,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 267.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37358,
    "c": 0.17774,
    "h": 297.4
  },
  "luminance": 0.04329
}

Semantic roles & 50–950 ramp

primary
#4F1890
secondary
#87C043
accent
#EE3A9B
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4F1890

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

Preview Lab → · Contrast checker → · Palette generator →

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