#431F68#431F68

#431F68 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.1% C 0.123 H 302.9°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#431F68
RGBrgb(67, 31, 104)
HSLhsl(270, 54%, 26%)
HSVhsv(270, 70%, 41%)
CMYKcmyk(35.6%, 70.2%, 0%, 59.2%)
CIE-LABlab(20.72, 32.77, -36.23)
CIE-LCHlch(20.72, 48.85, 312.12°)
OKLaboklab(33.09% 0.0665 -0.103)
OKLCHoklch(33.09% 0.123 302.9)
XYZxyz(5.3028, 3.1727, 13.4270)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431F68 #44681F
analogous
#1F2068 #431F68 #681F68
triadic
#431F68 #68431F #1F6843
tetradic
#431F68 #681F20 #44681F #1F6868
square
#431F68 #681F20 #44681F #1F6868
split-complementary
#431F68 #68681F #20681F
monochromatic
#0F0718 #251139 #431F68 #612D97 #803CC5

Accessibility & contrast

On white

12.85
#431F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#431F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431F68
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431F68#FFFFFF#000000##FFFFFF
##431F681.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316A
Deuteranopia (green-blind)
#033266
Tritanopia (blue-blind)
#3C2F40
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #431f68;
/* rgb */ color: rgb(67, 31, 104);
/* oklch */ color: oklch(33.1% 0.123 302.9);
Tailwind
colors: {
  custom: {
    50: '#7b5d94',
    500: '#431f68',
    950: '#000000',
  },
}
SCSS
$custom: #431f68;
$custom-light: #7b5d94;
$custom-dark: #000000;
JSON
{
  "hex": "#431f68",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 104
  },
  "hsl": {
    "h": 269.589,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33091,
    "c": 0.12256,
    "h": 302.9
  },
  "luminance": 0.03173
}

Semantic roles & 50–950 ramp

primary
#431F68
secondary
#729C46
accent
#DD4A95
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #431F68

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

Preview Lab → · Contrast checker → · Palette generator →

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