#4F1690#4F1690

#4F1690 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.2% C 0.179 H 297.7°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#4F1690
RGBrgb(79, 22, 144)
HSLhsl(268, 73%, 33%)
HSVhsv(268, 85%, 56%)
CMYKcmyk(45.1%, 84.7%, 0%, 43.5%)
CIE-LABlab(24.48, 49.50, -55.47)
CIE-LCHlch(24.48, 74.34, 311.75°)
OKLaboklab(37.19% 0.0833 -0.1589)
OKLCHoklch(37.19% 0.179 297.7)
XYZxyz(8.5441, 4.2495, 26.7502)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F1690 #579016
analogous
#161A90 #4F1690 #8C1690
triadic
#4F1690 #904F16 #16904F
tetradic
#4F1690 #90161A #579016 #16908C
square
#4F1690 #90161A #579016 #16908C
split-complementary
#4F1690 #908C16 #1A9016
monochromatic
#150626 #320E5B #4F1690 #6C1EC5 #8B3FE2

Accessibility & contrast

On white

11.35
#4F1690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4F1690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F1690
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F1690#FFFFFF#000000##FFFFFF
##4F16901.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#3E3A55
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4f1690;
/* rgb */ color: rgb(79, 22, 144);
/* oklch */ color: oklch(37.2% 0.179 297.7);
Tailwind
colors: {
  custom: {
    50: '#885cb2',
    500: '#4f1690',
    950: '#000000',
  },
}
SCSS
$custom: #4f1690;
$custom-light: #885cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f1690",
  "rgb": {
    "r": 79,
    "g": 22,
    "b": 144
  },
  "hsl": {
    "h": 268.033,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37185,
    "c": 0.17942,
    "h": 297.7
  },
  "luminance": 0.0425
}

Semantic roles & 50–950 ramp

primary
#4F1690
secondary
#85C240
accent
#F0389A
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0411
muted
#7D7980

Preview Lab

Preview with #4F1690

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

Preview Lab → · Contrast checker → · Palette generator →

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