#423196#423196

#423196 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.7% C 0.157 H 284.3°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#423196
RGBrgb(66, 49, 150)
HSLhsl(250, 51%, 39%)
HSVhsv(250, 67%, 59%)
CMYKcmyk(56%, 67.3%, 0%, 41.2%)
CIE-LABlab(28.26, 35.81, -53.03)
CIE-LCHlch(28.26, 63.99, 304.03°)
OKLaboklab(39.69% 0.0389 -0.1524)
OKLCHoklch(39.69% 0.157 284.3)
XYZxyz(8.8484, 5.5564, 29.4545)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423196 #859631
analogous
#315396 #423196 #753196
triadic
#423196 #964231 #319642
tetradic
#423196 #963153 #859631 #319675
square
#423196 #963153 #859631 #319675
split-complementary
#423196 #967531 #539631
monochromatic
#19133A #2E2268 #423196 #5843C1 #8171D1

Accessibility & contrast

On white

9.95
#423196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#423196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423196
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423196#FFFFFF#000000##FFFFFF
##4231961.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#1C4A5F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #423196;
/* rgb */ color: rgb(66, 49, 150);
/* oklch */ color: oklch(39.7% 0.157 284.3);
Tailwind
colors: {
  custom: {
    50: '#7f6ab6',
    500: '#423196',
    950: '#000000',
  },
}
SCSS
$custom: #423196;
$custom-light: #7f6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#423196",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 250.099,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39688,
    "c": 0.1573,
    "h": 284.3
  },
  "luminance": 0.05557
}

Semantic roles & 50–950 ramp

primary
#423196
secondary
#ABB86A
accent
#DA4EC3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #423196

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

Preview Lab → · Contrast checker → · Palette generator →

#423196 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva