#431958#431958

#431958 is a dark, moderate purple. Relative luminance 0.026; OKLCH L 31.0% C 0.112 H 312.3°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#431958
RGBrgb(67, 25, 88)
HSLhsl(280, 56%, 22%)
HSVhsv(280, 72%, 35%)
CMYKcmyk(23.9%, 71.6%, 0%, 65.5%)
CIE-LABlab(18.34, 31.85, -29.50)
CIE-LCHlch(18.34, 43.42, 317.20°)
OKLaboklab(30.99% 0.0757 -0.0831)
OKLCHoklch(30.99% 0.112 312.3)
XYZxyz(4.4235, 2.5933, 9.4982)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431958 #2E5819
analogous
#241958 #431958 #58194E
triadic
#431958 #584319 #195843
tetradic
#431958 #582419 #2E5819 #194E58
square
#431958 #582419 #2E5819 #194E58
split-complementary
#431958 #4E5819 #195824
monochromatic
#120718 #1F0B28 #431958 #672788 #8C34B7

Accessibility & contrast

On white

13.83
#431958 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#431958 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431958
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431958#FFFFFF#000000##FFFFFF
##4319581.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5A
Deuteranopia (green-blind)
#132E57
Tritanopia (blue-blind)
#412636
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #431958;
/* rgb */ color: rgb(67, 25, 88);
/* oklch */ color: oklch(31.0% 0.112 312.3);
Tailwind
colors: {
  custom: {
    50: '#7a5987',
    500: '#431958',
    950: '#000000',
  },
}
SCSS
$custom: #431958;
$custom-light: #7a5987;
$custom-dark: #000000;
JSON
{
  "hex": "#431958",
  "rgb": {
    "r": 67,
    "g": 25,
    "b": 88
  },
  "hsl": {
    "h": 280,
    "s": 55.752,
    "l": 22.157
  },
  "oklch": {
    "l": 0.30989,
    "c": 0.11246,
    "h": 312.3
  },
  "luminance": 0.02593
}

Semantic roles & 50–950 ramp

primary
#431958
secondary
#598E3E
accent
#DF497B
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#09040B
muted
#7B797C

Preview Lab

Preview with #431958

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

Preview Lab → · Contrast checker → · Palette generator →

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