#423285#423285

#423285 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.4% C 0.133 H 287.3°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#423285
RGBrgb(66, 50, 133)
HSLhsl(252, 45%, 36%)
HSVhsv(252, 62%, 52%)
CMYKcmyk(50.4%, 62.4%, 0%, 47.8%)
CIE-LABlab(27.11, 29.78, -44.40)
CIE-LCHlch(27.11, 53.46, 303.85°)
OKLaboklab(38.41% 0.0395 -0.127)
OKLCHoklch(38.41% 0.133 287.3)
XYZxyz(7.6198, 5.1326, 22.7749)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423285 #758532
analogous
#324B85 #423285 #6B3285
triadic
#423285 #854232 #328542
tetradic
#423285 #85324B #758532 #32856B
square
#423285 #85324B #758532 #32856B
split-complementary
#423285 #856B32 #4B8532
monochromatic
#16112C #2C2159 #423285 #5843B1 #7C6AC7

Accessibility & contrast

On white

10.36
#423285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#423285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423285
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423285#FFFFFF#000000##FFFFFF
##4232851.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#003E83
Tritanopia (blue-blind)
#2B4556
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #423285;
/* rgb */ color: rgb(66, 50, 133);
/* oklch */ color: oklch(38.4% 0.133 287.3);
Tailwind
colors: {
  custom: {
    50: '#7c6aa9',
    500: '#423285',
    950: '#000000',
  },
}
SCSS
$custom: #423285;
$custom-light: #7c6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#423285",
  "rgb": {
    "r": 66,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 251.566,
    "s": 45.355,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38413,
    "c": 0.13301,
    "h": 287.3
  },
  "luminance": 0.05133
}

Semantic roles & 50–950 ramp

primary
#423285
secondary
#A0AF64
accent
#D553BC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #423285

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

Preview Lab → · Contrast checker → · Palette generator →

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