#4F2195#4F2195

#4F2195 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.174 H 294.8°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#4F2195
RGBrgb(79, 33, 149)
HSLhsl(264, 64%, 36%)
HSVhsv(264, 78%, 58%)
CMYKcmyk(47%, 77.9%, 0%, 41.6%)
CIE-LABlab(26.50, 46.29, -55.24)
CIE-LCHlch(26.50, 72.07, 309.97°)
OKLaboklab(38.74% 0.0733 -0.1583)
OKLCHoklch(38.74% 0.175 294.8)
XYZxyz(9.1916, 4.9196, 28.8932)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F2195 #679521
analogous
#212D95 #4F2195 #892195
triadic
#4F2195 #954F21 #21954F
tetradic
#4F2195 #95212D #679521 #219589
square
#4F2195 #95212D #679521 #219589
split-complementary
#4F2195 #958921 #2D9521
monochromatic
#1A0B31 #341663 #4F2195 #6A2CC7 #8B57DA

Accessibility & contrast

On white

10.58
#4F2195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4F2195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F2195
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F2195#FFFFFF#000000##FFFFFF
##4F21951.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#3B415A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4f2195;
/* rgb */ color: rgb(79, 33, 149);
/* oklch */ color: oklch(38.7% 0.174 294.8);
Tailwind
colors: {
  custom: {
    50: '#8862b5',
    500: '#4f2195',
    950: '#000000',
  },
}
SCSS
$custom: #4f2195;
$custom-light: #8862b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f2195",
  "rgb": {
    "r": 79,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 263.793,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38736,
    "c": 0.1745,
    "h": 294.8
  },
  "luminance": 0.0492
}

Semantic roles & 50–950 ramp

primary
#4F2195
secondary
#94BE54
accent
#E741A5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4F2195

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

Preview Lab → · Contrast checker → · Palette generator →

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