#423266#423266

#423266 is a dark, moderate violet. Relative luminance 0.044; OKLCH L 36.1% C 0.088 H 295.9°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#423266
RGBrgb(66, 50, 102)
HSLhsl(258, 34%, 30%)
HSVhsv(258, 51%, 40%)
CMYKcmyk(35.3%, 51%, 0%, 60%)
CIE-LABlab(24.95, 20.18, -28.16)
CIE-LCHlch(24.95, 34.65, 305.62°)
OKLaboklab(36.12% 0.0385 -0.0793)
OKLCHoklch(36.12% 0.088 295.9)
XYZxyz(5.7850, 4.3987, 13.1120)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423266 #566632
analogous
#323C66 #423266 #5C3266
triadic
#423266 #664232 #326642
tetradic
#423266 #66323C #566632 #32665C
square
#423266 #66323C #566632 #32665C
split-complementary
#423266 #665C32 #3C6632
monochromatic
#0D0A15 #271E3D #423266 #5D468F #7A61B2

Accessibility & contrast

On white

11.17
#423266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#423266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423266
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423266#FFFFFF#000000##FFFFFF
##4232661.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203C68
Deuteranopia (green-blind)
#233A65
Tritanopia (blue-blind)
#3A3C47
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #423266;
/* rgb */ color: rgb(66, 50, 102);
/* oklch */ color: oklch(36.1% 0.088 295.9);
Tailwind
colors: {
  custom: {
    50: '#786a92',
    500: '#423266',
    950: '#000000',
  },
}
SCSS
$custom: #423266;
$custom-light: #786a92;
$custom-dark: #000000;
JSON
{
  "hex": "#423266",
  "rgb": {
    "r": 66,
    "g": 50,
    "b": 102
  },
  "hsl": {
    "h": 258.462,
    "s": 34.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36122,
    "c": 0.08818,
    "h": 295.9
  },
  "luminance": 0.04399
}

Semantic roles & 50–950 ramp

primary
#423266
secondary
#85975D
accent
#CA5EA9
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#09060D
muted
#7B7A7E

Preview Lab

Preview with #423266

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

Preview Lab → · Contrast checker → · Palette generator →

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