#423166#423166

#423166 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 35.9% C 0.090 H 296.4°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#423166
RGBrgb(66, 49, 102)
HSLhsl(259, 35%, 30%)
HSVhsv(259, 52%, 40%)
CMYKcmyk(35.3%, 52%, 0%, 60%)
CIE-LABlab(24.68, 20.84, -28.58)
CIE-LCHlch(24.68, 35.37, 306.09°)
OKLaboklab(35.92% 0.04 -0.0806)
OKLCHoklch(35.92% 0.09 296.4)
XYZxyz(5.7428, 4.3141, 13.0979)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423166 #556631
analogous
#313B66 #423166 #5D3166
triadic
#423166 #664231 #316642
tetradic
#423166 #66313B #556631 #31665D
square
#423166 #66313B #556631 #31665D
split-complementary
#423166 #665D31 #3B6631
monochromatic
#0D0A15 #271D3D #423166 #5D458F #7A5FB2

Accessibility & contrast

On white

11.27
#423166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#423166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423166
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423166#FFFFFF#000000##FFFFFF
##4231661.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3B68
Deuteranopia (green-blind)
#223A65
Tritanopia (blue-blind)
#3A3B46
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #423166;
/* rgb */ color: rgb(66, 49, 102);
/* oklch */ color: oklch(35.9% 0.090 296.4);
Tailwind
colors: {
  custom: {
    50: '#786992',
    500: '#423166',
    950: '#000000',
  },
}
SCSS
$custom: #423166;
$custom-light: #786992;
$custom-dark: #000000;
JSON
{
  "hex": "#423166",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 259.245,
    "s": 35.099,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35924,
    "c": 0.08995,
    "h": 296.4
  },
  "luminance": 0.04314
}

Semantic roles & 50–950 ramp

primary
#423166
secondary
#84975C
accent
#CB5DA8
background
#F7F6F9
surface
#EDEBF1
border
#C8C6CB
text
#09060D
muted
#7B7A7E

Preview Lab

Preview with #423166

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

Preview Lab → · Contrast checker → · Palette generator →

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