#423197#423197

#423197 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.8% C 0.159 H 284.2°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#423197
RGBrgb(66, 49, 151)
HSLhsl(250, 51%, 39%)
HSVhsv(250, 68%, 59%)
CMYKcmyk(56.3%, 67.5%, 0%, 40.8%)
CIE-LABlab(28.35, 36.13, -53.50)
CIE-LCHlch(28.35, 64.56, 304.03°)
OKLaboklab(39.78% 0.0388 -0.1538)
OKLCHoklch(39.78% 0.159 284.2)
XYZxyz(8.9293, 5.5887, 29.8804)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423197 #869731
analogous
#315397 #423197 #753197
triadic
#423197 #974231 #319742
tetradic
#423197 #973153 #869731 #319775
square
#423197 #973153 #869731 #319775
split-complementary
#423197 #977531 #539731
monochromatic
#1A133B #2E2269 #423197 #5843C2 #8171D1

Accessibility & contrast

On white

9.92
#423197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#423197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423197
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423197#FFFFFF#000000##FFFFFF
##4231971.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#1B4B5F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #423197;
/* rgb */ color: rgb(66, 49, 151);
/* oklch */ color: oklch(39.8% 0.159 284.2);
Tailwind
colors: {
  custom: {
    50: '#7f6ab6',
    500: '#423197',
    950: '#000000',
  },
}
SCSS
$custom: #423197;
$custom-light: #7f6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#423197",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 151
  },
  "hsl": {
    "h": 250,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39776,
    "c": 0.15861,
    "h": 284.2
  },
  "luminance": 0.05589
}

Semantic roles & 50–950 ramp

primary
#423197
secondary
#ACB96B
accent
#DA4DC3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #423197

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

Preview Lab → · Contrast checker → · Palette generator →

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