#4F2190#4F2190

#4F2190 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.169 H 296.2°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#4F2190
RGBrgb(79, 33, 144)
HSLhsl(265, 63%, 35%)
HSVhsv(265, 77%, 56%)
CMYKcmyk(45.1%, 77.1%, 0%, 43.5%)
CIE-LABlab(26.05, 44.96, -52.90)
CIE-LCHlch(26.05, 69.42, 310.36°)
OKLaboklab(38.28% 0.0747 -0.1515)
OKLCHoklch(38.28% 0.169 296.2)
XYZxyz(8.8010, 4.7634, 26.8359)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2190 #629021
analogous
#212A90 #4F2190 #872190
triadic
#4F2190 #904F21 #21904F
tetradic
#4F2190 #90212A #629021 #219087
square
#4F2190 #90212A #629021 #219087
split-complementary
#4F2190 #908721 #2A9021
monochromatic
#180A2C #34165E #4F2190 #6A2CC2 #8A54D8

Accessibility & contrast

On white

10.75
#4F2190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4F2190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2190
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2190#FFFFFF#000000##FFFFFF
##4F21901.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#3D3F57
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4f2190;
/* rgb */ color: rgb(79, 33, 144);
/* oklch */ color: oklch(38.3% 0.169 296.2);
Tailwind
colors: {
  custom: {
    50: '#8761b1',
    500: '#4f2190',
    950: '#000000',
  },
}
SCSS
$custom: #4f2190;
$custom-light: #8761b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2190",
  "rgb": {
    "r": 79,
    "g": 33,
    "b": 144
  },
  "hsl": {
    "h": 264.865,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38277,
    "c": 0.16889,
    "h": 296.2
  },
  "luminance": 0.04764
}

Semantic roles & 50–950 ramp

primary
#4F2190
secondary
#8FBB51
accent
#E642A2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4F2190

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

Preview Lab → · Contrast checker → · Palette generator →

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