#423388#423388

#423388 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 38.8% C 0.136 H 286.3°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#423388
RGBrgb(66, 51, 136)
HSLhsl(251, 45%, 37%)
HSVhsv(251, 63%, 53%)
CMYKcmyk(51.5%, 62.5%, 0%, 46.7%)
CIE-LABlab(27.58, 30.11, -45.50)
CIE-LCHlch(27.58, 54.56, 303.49°)
OKLaboklab(38.83% 0.0382 -0.1303)
OKLCHoklch(38.83% 0.136 286.3)
XYZxyz(7.8732, 5.3031, 23.8965)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423388 #798833
analogous
#334F88 #423388 #6D3388
triadic
#423388 #884233 #338842
tetradic
#423388 #88334F #798833 #33886D
square
#423388 #88334F #798833 #33886D
split-complementary
#423388 #886D33 #4F8833
monochromatic
#17122F #2C225B #423388 #5844B5 #7D6DC8

Accessibility & contrast

On white

10.19
#423388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#423388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423388
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423388#FFFFFF#000000##FFFFFF
##4233881.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#003F86
Tritanopia (blue-blind)
#294758
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #423388;
/* rgb */ color: rgb(66, 51, 136);
/* oklch */ color: oklch(38.8% 0.136 286.3);
Tailwind
colors: {
  custom: {
    50: '#7d6bab',
    500: '#423388',
    950: '#000000',
  },
}
SCSS
$custom: #423388;
$custom-light: #7d6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#423388",
  "rgb": {
    "r": 66,
    "g": 51,
    "b": 136
  },
  "hsl": {
    "h": 250.588,
    "s": 45.455,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38833,
    "c": 0.13574,
    "h": 286.3
  },
  "luminance": 0.05303
}

Semantic roles & 50–950 ramp

primary
#423388
secondary
#A3B067
accent
#D553BE
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #423388

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

Preview Lab → · Contrast checker → · Palette generator →

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