#423282#423282

#423282 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.2% C 0.129 H 287.9°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#423282
RGBrgb(66, 50, 130)
HSLhsl(252, 44%, 35%)
HSVhsv(252, 62%, 51%)
CMYKcmyk(49.2%, 61.5%, 0%, 49%)
CIE-LABlab(26.88, 28.83, -42.89)
CIE-LCHlch(26.88, 51.68, 303.90°)
OKLaboklab(38.17% 0.0396 -0.1226)
OKLCHoklch(38.17% 0.129 287.9)
XYZxyz(7.4155, 5.0508, 21.6990)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423282 #728232
analogous
#324A82 #423282 #6A3282
triadic
#423282 #824232 #328242
tetradic
#423282 #82324A #728232 #32826A
square
#423282 #82324A #728232 #32826A
split-complementary
#423282 #826A32 #4A8232
monochromatic
#15102A #2C2156 #423282 #5843AE #7C69C5

Accessibility & contrast

On white

10.45
#423282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#423282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423282
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423282#FFFFFF#000000##FFFFFF
##4232821.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004185
Deuteranopia (green-blind)
#003D80
Tritanopia (blue-blind)
#2D4455
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #423282;
/* rgb */ color: rgb(66, 50, 130);
/* oklch */ color: oklch(38.2% 0.129 287.9);
Tailwind
colors: {
  custom: {
    50: '#7c6aa7',
    500: '#423282',
    950: '#000000',
  },
}
SCSS
$custom: #423282;
$custom-light: #7c6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#423282",
  "rgb": {
    "r": 66,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 252,
    "s": 44.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38172,
    "c": 0.12883,
    "h": 287.9
  },
  "luminance": 0.05051
}

Semantic roles & 50–950 ramp

primary
#423282
secondary
#9EAD63
accent
#D454BA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #423282

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

Preview Lab → · Contrast checker → · Palette generator →

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