#431881#431881

#431881 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.160 H 295.0°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#431881
RGBrgb(67, 24, 129)
HSLhsl(265, 69%, 30%)
HSVhsv(265, 81%, 51%)
CMYKcmyk(48.1%, 81.4%, 0%, 49.4%)
CIE-LABlab(21.69, 43.06, -50.71)
CIE-LCHlch(21.69, 66.53, 310.34°)
OKLaboklab(34.46% 0.0678 -0.1454)
OKLCHoklch(34.46% 0.16 295)
XYZxyz(6.6027, 3.4314, 21.0791)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431881 #568118
analogous
#182281 #431881 #771881
triadic
#431881 #814318 #188143
tetradic
#431881 #811822 #568118 #188177
square
#431881 #811822 #568118 #188177
split-complementary
#431881 #817718 #228118
monochromatic
#0D051A #280E4D #431881 #5E22B5 #7B39DA

Accessibility & contrast

On white

12.45
#431881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#431881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431881
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431881#FFFFFF#000000##FFFFFF
##4318811.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#00327F
Tritanopia (blue-blind)
#31364D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #431881;
/* rgb */ color: rgb(67, 24, 129);
/* oklch */ color: oklch(34.5% 0.160 295.0);
Tailwind
colors: {
  custom: {
    50: '#7e5ba7',
    500: '#431881',
    950: '#000000',
  },
}
SCSS
$custom: #431881;
$custom-light: #7e5ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#431881",
  "rgb": {
    "r": 67,
    "g": 24,
    "b": 129
  },
  "hsl": {
    "h": 264.571,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.34461,
    "c": 0.16043,
    "h": 295
  },
  "luminance": 0.03432
}

Semantic roles & 50–950 ramp

primary
#431881
secondary
#85B540
accent
#EB3CA4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #431881

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

Preview Lab → · Contrast checker → · Palette generator →

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