#431954#431954

#431954 is a dark, moderate purple. Relative luminance 0.025; OKLCH L 30.7% C 0.108 H 314.7°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#431954
RGBrgb(67, 25, 84)
HSLhsl(283, 54%, 21%)
HSVhsv(283, 70%, 33%)
CMYKcmyk(20.2%, 70.2%, 0%, 67.1%)
CIE-LABlab(18.05, 30.88, -27.27)
CIE-LCHlch(18.05, 41.20, 318.55°)
OKLaboklab(30.69% 0.076 -0.0766)
OKLCHoklch(30.69% 0.108 314.7)
XYZxyz(4.2623, 2.5288, 8.6494)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431954 #2A5419
analogous
#261954 #431954 #541948
triadic
#431954 #544319 #195443
tetradic
#431954 #542619 #2A5419 #194854
square
#431954 #542619 #2A5419 #194854
split-complementary
#431954 #485419 #195426
monochromatic
#130718 #1D0B25 #431954 #692783 #8E35B2

Accessibility & contrast

On white

13.95
#431954 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#431954 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431954
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431954#FFFFFF#000000##FFFFFF
##4319541.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022A56
Deuteranopia (green-blind)
#172D53
Tritanopia (blue-blind)
#422434
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #431954;
/* rgb */ color: rgb(67, 25, 84);
/* oklch */ color: oklch(30.7% 0.108 314.7);
Tailwind
colors: {
  custom: {
    50: '#795984',
    500: '#431954',
    950: '#000000',
  },
}
SCSS
$custom: #431954;
$custom-light: #795984;
$custom-dark: #000000;
JSON
{
  "hex": "#431954",
  "rgb": {
    "r": 67,
    "g": 25,
    "b": 84
  },
  "hsl": {
    "h": 282.712,
    "s": 54.128,
    "l": 21.373
  },
  "oklch": {
    "l": 0.3069,
    "c": 0.10788,
    "h": 314.7
  },
  "luminance": 0.02529
}

Semantic roles & 50–950 ramp

primary
#431954
secondary
#548A3E
accent
#DD4A75
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #431954

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

Preview Lab → · Contrast checker → · Palette generator →

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