#423288#423288

#423288 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.7% C 0.137 H 286.6°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#423288
RGBrgb(66, 50, 136)
HSLhsl(251, 46%, 36%)
HSVhsv(251, 63%, 53%)
CMYKcmyk(51.5%, 63.2%, 0%, 46.7%)
CIE-LABlab(27.34, 30.73, -45.88)
CIE-LCHlch(27.34, 55.23, 303.81°)
OKLaboklab(38.66% 0.0393 -0.1314)
OKLCHoklch(38.66% 0.137 286.6)
XYZxyz(7.8300, 5.2167, 23.8821)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423288 #788832
analogous
#324D88 #423288 #6D3288
triadic
#423288 #884232 #328842
tetradic
#423288 #88324D #788832 #32886D
square
#423288 #88324D #788832 #32886D
split-complementary
#423288 #886D32 #4D8832
monochromatic
#17112F #2C225B #423288 #5842B5 #7D6CC9

Accessibility & contrast

On white

10.28
#423288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#423288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423288
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423288#FFFFFF#000000##FFFFFF
##4232881.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #423288;
/* rgb */ color: rgb(66, 50, 136);
/* oklch */ color: oklch(38.7% 0.137 286.6);
Tailwind
colors: {
  custom: {
    50: '#7d6bab',
    500: '#423288',
    950: '#000000',
  },
}
SCSS
$custom: #423288;
$custom-light: #7d6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#423288",
  "rgb": {
    "r": 66,
    "g": 50,
    "b": 136
  },
  "hsl": {
    "h": 251.163,
    "s": 46.237,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38659,
    "c": 0.13715,
    "h": 286.6
  },
  "luminance": 0.05217
}

Semantic roles & 50–950 ramp

primary
#423288
secondary
#A2B065
accent
#D652BD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #423288

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

Preview Lab → · Contrast checker → · Palette generator →

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