#431D68#431D68

#431D68 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.8% C 0.125 H 303.3°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#431D68
RGBrgb(67, 29, 104)
HSLhsl(270, 56%, 26%)
HSVhsv(270, 72%, 41%)
CMYKcmyk(35.6%, 72.1%, 0%, 59.2%)
CIE-LABlab(20.33, 33.86, -36.87)
CIE-LCHlch(20.33, 50.06, 312.56°)
OKLaboklab(32.81% 0.0689 -0.1048)
OKLCHoklch(32.81% 0.125 303.3)
XYZxyz(5.2522, 3.0715, 13.4102)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431D68 #42681D
analogous
#1D1D68 #431D68 #681D67
triadic
#431D68 #68431D #1D6843
tetradic
#431D68 #681D1D #42681D #1D6768
square
#431D68 #681D1D #42681D #1D6768
split-complementary
#431D68 #67681D #1D681D
monochromatic
#0F0718 #241038 #431D68 #622A98 #8138C7

Accessibility & contrast

On white

13.01
#431D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#431D68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431D68
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431D68#FFFFFF#000000##FFFFFF
##431D681.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306A
Deuteranopia (green-blind)
#003166
Tritanopia (blue-blind)
#3C2E40
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #431d68;
/* rgb */ color: rgb(67, 29, 104);
/* oklch */ color: oklch(32.8% 0.125 303.3);
Tailwind
colors: {
  custom: {
    50: '#7b5c94',
    500: '#431d68',
    950: '#000000',
  },
}
SCSS
$custom: #431d68;
$custom-light: #7b5c94;
$custom-dark: #000000;
JSON
{
  "hex": "#431d68",
  "rgb": {
    "r": 67,
    "g": 29,
    "b": 104
  },
  "hsl": {
    "h": 270.4,
    "s": 56.391,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32807,
    "c": 0.12546,
    "h": 303.3
  },
  "luminance": 0.03071
}

Semantic roles & 50–950 ramp

primary
#431D68
secondary
#709D44
accent
#E04893
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #431D68

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

Preview Lab → · Contrast checker → · Palette generator →

#431D68 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva