#432178#432178

#432178 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.140 H 296.2°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#432178
RGBrgb(67, 33, 120)
HSLhsl(263, 57%, 30%)
HSVhsv(263, 73%, 47%)
CMYKcmyk(44.2%, 72.5%, 0%, 52.9%)
CIE-LABlab(22.43, 36.13, -43.78)
CIE-LCHlch(22.43, 56.77, 309.53°)
OKLaboklab(34.73% 0.0617 -0.1252)
OKLCHoklch(34.73% 0.14 296.2)
XYZxyz(6.2479, 3.6369, 18.1385)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#432178 #567821
analogous
#212B78 #432178 #6E2178
triadic
#432178 #784321 #217843
tetradic
#432178 #78212B #567821 #21786E
square
#432178 #78212B #567821 #21786E
split-complementary
#432178 #786E21 #2B7821
monochromatic
#0D0718 #281448 #432178 #5E2EA8 #7B47CC

Accessibility & contrast

On white

12.16
#432178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#432178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #432178
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##432178#FFFFFF#000000##FFFFFF
##4321781.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367B
Deuteranopia (green-blind)
#003476
Tritanopia (blue-blind)
#35364A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #432178;
/* rgb */ color: rgb(67, 33, 120);
/* oklch */ color: oklch(34.7% 0.140 296.2);
Tailwind
colors: {
  custom: {
    50: '#7c5fa0',
    500: '#432178',
    950: '#000000',
  },
}
SCSS
$custom: #432178;
$custom-light: #7c5fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#432178",
  "rgb": {
    "r": 67,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 263.448,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.34727,
    "c": 0.13953,
    "h": 296.2
  },
  "luminance": 0.03637
}

Semantic roles & 50–950 ramp

primary
#432178
secondary
#85AB4A
accent
#E048A5
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #432178

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

Preview Lab → · Contrast checker → · Palette generator →

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