#431158#431158

#431158 is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.0% C 0.124 H 313.6°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#431158
RGBrgb(67, 17, 88)
HSLhsl(282, 68%, 21%)
HSVhsv(282, 81%, 35%)
CMYKcmyk(23.9%, 80.7%, 0%, 65.5%)
CIE-LABlab(16.98, 35.66, -31.68)
CIE-LCHlch(16.98, 47.70, 318.39°)
OKLaboklab(30.03% 0.0852 -0.0895)
OKLCHoklch(30.03% 0.124 313.6)
XYZxyz(4.2763, 2.2989, 9.4491)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431158 #265811
analogous
#201158 #431158 #581149
triadic
#431158 #584311 #115843
tetradic
#431158 #582011 #265811 #114958
square
#431158 #582011 #265811 #114958
split-complementary
#431158 #495811 #115820
monochromatic
#14051A #1C0725 #431158 #6A1B8B #9125BF

Accessibility & contrast

On white

14.39
#431158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#431158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431158
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431158#FFFFFF#000000##FFFFFF
##4311581.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275A
Deuteranopia (green-blind)
#0B2B56
Tritanopia (blue-blind)
#412134
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #431158;
/* rgb */ color: rgb(67, 17, 88);
/* oklch */ color: oklch(30.0% 0.124 313.6);
Tailwind
colors: {
  custom: {
    50: '#7a5588',
    500: '#431158',
    950: '#000000',
  },
}
SCSS
$custom: #431158;
$custom-light: #7a5588;
$custom-dark: #000000;
JSON
{
  "hex": "#431158",
  "rgb": {
    "r": 67,
    "g": 17,
    "b": 88
  },
  "hsl": {
    "h": 282.254,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30025,
    "c": 0.12353,
    "h": 313.6
  },
  "luminance": 0.02299
}

Semantic roles & 50–950 ramp

primary
#431158
secondary
#4F9134
accent
#EA3D71
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #431158

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

Preview Lab → · Contrast checker → · Palette generator →

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