#432897#432897

#432897 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.169 H 286.6°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#432897
RGBrgb(67, 40, 151)
HSLhsl(255, 58%, 37%)
HSVhsv(255, 74%, 59%)
CMYKcmyk(55.6%, 73.5%, 0%, 40.8%)
CIE-LABlab(26.58, 41.45, -56.40)
CIE-LCHlch(26.58, 69.99, 306.31°)
OKLaboklab(38.53% 0.0484 -0.1622)
OKLCHoklch(38.53% 0.169 286.6)
XYZxyz(8.6578, 4.9448, 29.7704)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#432897 #7C9728
analogous
#284497 #432897 #7B2897
triadic
#432897 #974328 #289743
tetradic
#432897 #972844 #7C9728 #28977B
square
#432897 #972844 #7C9728 #28977B
split-complementary
#432897 #977B28 #449728
monochromatic
#180E36 #2E1B67 #432897 #5835C7 #7F64D6

Accessibility & contrast

On white

10.56
#432897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#432897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #432897
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##432897#FFFFFF#000000##FFFFFF
##4328971.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#1F465D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #432897;
/* rgb */ color: rgb(67, 40, 151);
/* oklch */ color: oklch(38.5% 0.169 286.6);
Tailwind
colors: {
  custom: {
    50: '#8165b7',
    500: '#432897',
    950: '#000000',
  },
}
SCSS
$custom: #432897;
$custom-light: #8165b7;
$custom-dark: #000000;
JSON
{
  "hex": "#432897",
  "rgb": {
    "r": 67,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 254.595,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38531,
    "c": 0.16929,
    "h": 286.6
  },
  "luminance": 0.04945
}

Semantic roles & 50–950 ramp

primary
#432897
secondary
#A5BC5F
accent
#E146BC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #432897

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

Preview Lab → · Contrast checker → · Palette generator →

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