#423366#423366

#423366 is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.3% C 0.086 H 295.3°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#423366
RGBrgb(66, 51, 102)
HSLhsl(258, 33%, 30%)
HSVhsv(258, 50%, 40%)
CMYKcmyk(35.3%, 50%, 0%, 60%)
CIE-LABlab(25.21, 19.52, -27.74)
CIE-LCHlch(25.21, 33.92, 305.13°)
OKLaboklab(36.32% 0.037 -0.0781)
OKLCHoklch(36.32% 0.086 295.3)
XYZxyz(5.8283, 4.4851, 13.1264)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423366 #576633
analogous
#333E66 #423366 #5B3366
triadic
#423366 #664233 #336642
tetradic
#423366 #66333E #576633 #33665B
square
#423366 #66333E #576633 #33665B
split-complementary
#423366 #665B33 #3E6633
monochromatic
#0D0A14 #281F3D #423366 #5C478F #7A63B1

Accessibility & contrast

On white

11.07
#423366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#423366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423366
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423366#FFFFFF#000000##FFFFFF
##4233661.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223C68
Deuteranopia (green-blind)
#253B65
Tritanopia (blue-blind)
#3A3D47
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #423366;
/* rgb */ color: rgb(66, 51, 102);
/* oklch */ color: oklch(36.3% 0.086 295.3);
Tailwind
colors: {
  custom: {
    50: '#786b92',
    500: '#423366',
    950: '#000000',
  },
}
SCSS
$custom: #423366;
$custom-light: #786b92;
$custom-dark: #000000;
JSON
{
  "hex": "#423366",
  "rgb": {
    "r": 66,
    "g": 51,
    "b": 102
  },
  "hsl": {
    "h": 257.647,
    "s": 33.333,
    "l": 30
  },
  "oklch": {
    "l": 0.36322,
    "c": 0.08642,
    "h": 295.3
  },
  "luminance": 0.04485
}

Semantic roles & 50–950 ramp

primary
#423366
secondary
#86975E
accent
#C95EAA
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#09060D
muted
#7B7A7E

Preview Lab

Preview with #423366

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

Preview Lab → · Contrast checker → · Palette generator →

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