#431B5F#431B5F

#431B5F is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.8% C 0.118 H 308.1°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#431B5F
RGBrgb(67, 27, 95)
HSLhsl(275, 56%, 24%)
HSVhsv(275, 72%, 37%)
CMYKcmyk(29.5%, 71.6%, 0%, 62.7%)
CIE-LABlab(19.24, 32.56, -32.71)
CIE-LCHlch(19.24, 46.15, 314.87°)
OKLaboklab(31.8% 0.0725 -0.0926)
OKLCHoklch(31.8% 0.118 308.1)
XYZxyz(4.7718, 2.8035, 11.1140)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431B5F #375F1B
analogous
#211B5F #431B5F #5F1B59
triadic
#431B5F #5F431B #1B5F43
tetradic
#431B5F #5F211B #375F1B #1B595F
square
#431B5F #5F211B #375F1B #1B595F
split-complementary
#431B5F #595F1B #1B5F21
monochromatic
#110718 #210D2F #431B5F #65298F #8636BE

Accessibility & contrast

On white

13.46
#431B5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#431B5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431B5F
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431B5F#FFFFFF#000000##FFFFFF
##431B5F1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D61
Deuteranopia (green-blind)
#0D2F5D
Tritanopia (blue-blind)
#3F2A3A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #431b5f;
/* rgb */ color: rgb(67, 27, 95);
/* oklch */ color: oklch(31.8% 0.118 308.1);
Tailwind
colors: {
  custom: {
    50: '#7a5b8d',
    500: '#431b5f',
    950: '#000000',
  },
}
SCSS
$custom: #431b5f;
$custom-light: #7a5b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#431b5f",
  "rgb": {
    "r": 67,
    "g": 27,
    "b": 95
  },
  "hsl": {
    "h": 275.294,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31804,
    "c": 0.11761,
    "h": 308.1
  },
  "luminance": 0.02803
}

Semantic roles & 50–950 ramp

primary
#431B5F
secondary
#649541
accent
#DF4987
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #431B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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