#432874#432874

#432874 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.4% C 0.125 H 295.7°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#432874
RGBrgb(67, 40, 116)
HSLhsl(261, 49%, 31%)
HSVhsv(261, 66%, 45%)
CMYKcmyk(42.2%, 65.5%, 0%, 54.5%)
CIE-LABlab(23.58, 30.95, -39.37)
CIE-LCHlch(23.58, 50.08, 308.17°)
OKLaboklab(35.45% 0.0541 -0.1122)
OKLCHoklch(35.45% 0.125 295.7)
XYZxyz(6.2251, 3.9717, 16.9582)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#432874 #597428
analogous
#283374 #432874 #692874
triadic
#432874 #744328 #287443
tetradic
#432874 #742833 #597428 #287469
square
#432874 #742833 #597428 #287469
split-complementary
#432874 #746928 #337428
monochromatic
#0E0919 #291846 #432874 #5D38A2 #7B53C4

Accessibility & contrast

On white

11.70
#432874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#432874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #432874
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##432874#FFFFFF#000000##FFFFFF
##4328741.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#003772
Tritanopia (blue-blind)
#37394A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #432874;
/* rgb */ color: rgb(67, 40, 116);
/* oklch */ color: oklch(35.4% 0.125 295.7);
Tailwind
colors: {
  custom: {
    50: '#7b639d',
    500: '#432874',
    950: '#000000',
  },
}
SCSS
$custom: #432874;
$custom-light: #7b639d;
$custom-dark: #000000;
JSON
{
  "hex": "#432874",
  "rgb": {
    "r": 67,
    "g": 40,
    "b": 116
  },
  "hsl": {
    "h": 261.316,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35448,
    "c": 0.12455,
    "h": 295.7
  },
  "luminance": 0.03972
}

Semantic roles & 50–950 ramp

primary
#432874
secondary
#88A652
accent
#D850A8
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #432874

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

Preview Lab → · Contrast checker → · Palette generator →

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