#432166#432166

#432166 is a dark, moderate violet. Relative luminance 0.032; OKLCH L 33.2% C 0.117 H 303.2°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#432166
RGBrgb(67, 33, 102)
HSLhsl(270, 51%, 26%)
HSVhsv(270, 68%, 40%)
CMYKcmyk(34.3%, 67.6%, 0%, 60%)
CIE-LABlab(20.98, 31.09, -34.51)
CIE-LCHlch(20.98, 46.45, 312.02°)
OKLaboklab(33.23% 0.0642 -0.0979)
OKLCHoklch(33.23% 0.117 303.2)
XYZxyz(5.2563, 3.2403, 12.9163)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#432166 #446621
analogous
#212266 #432166 #662166
triadic
#432166 #664321 #216643
tetradic
#432166 #662122 #446621 #216666
square
#432166 #662122 #446621 #216666
split-complementary
#432166 #666621 #226621
monochromatic
#0F0717 #251238 #432166 #613094 #8040C1

Accessibility & contrast

On white

12.74
#432166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#432166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #432166
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##432166#FFFFFF#000000##FFFFFF
##4321661.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003268
Deuteranopia (green-blind)
#0B3264
Tritanopia (blue-blind)
#3C3040
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #432166;
/* rgb */ color: rgb(67, 33, 102);
/* oklch */ color: oklch(33.2% 0.117 303.2);
Tailwind
colors: {
  custom: {
    50: '#7a5e92',
    500: '#432166',
    950: '#000000',
  },
}
SCSS
$custom: #432166;
$custom-light: #7a5e92;
$custom-dark: #000000;
JSON
{
  "hex": "#432166",
  "rgb": {
    "r": 67,
    "g": 33,
    "b": 102
  },
  "hsl": {
    "h": 269.565,
    "s": 51.111,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33228,
    "c": 0.11705,
    "h": 303.2
  },
  "luminance": 0.0324
}

Semantic roles & 50–950 ramp

primary
#432166
secondary
#729A49
accent
#DB4D95
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #432166

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

Preview Lab → · Contrast checker → · Palette generator →

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