#431A5B#431A5B

#431A5B is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.4% C 0.114 H 310.4°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#431A5B
RGBrgb(67, 26, 91)
HSLhsl(278, 56%, 23%)
HSVhsv(278, 71%, 36%)
CMYKcmyk(26.4%, 71.4%, 0%, 64.3%)
CIE-LABlab(18.75, 32.07, -30.85)
CIE-LCHlch(18.75, 44.50, 316.12°)
OKLaboklab(31.36% 0.0742 -0.0871)
OKLCHoklch(31.36% 0.114 310.4)
XYZxyz(4.5721, 2.6875, 10.1734)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431A5B #325B1A
analogous
#221A5B #431A5B #5B1A52
triadic
#431A5B #5B431A #1A5B43
tetradic
#431A5B #5B221A #325B1A #1A525B
square
#431A5B #5B221A #325B1A #1A525B
split-complementary
#431A5B #525B1A #1A5B22
monochromatic
#120718 #200C2B #431A5B #66288B #8935BA

Accessibility & contrast

On white

13.66
#431A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#431A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431A5B
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431A5B#FFFFFF#000000##FFFFFF
##431A5B1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5D
Deuteranopia (green-blind)
#112E5A
Tritanopia (blue-blind)
#402738
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #431a5b;
/* rgb */ color: rgb(67, 26, 91);
/* oklch */ color: oklch(31.4% 0.114 310.4);
Tailwind
colors: {
  custom: {
    50: '#7a5a8a',
    500: '#431a5b',
    950: '#000000',
  },
}
SCSS
$custom: #431a5b;
$custom-light: #7a5a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#431a5b",
  "rgb": {
    "r": 67,
    "g": 26,
    "b": 91
  },
  "hsl": {
    "h": 277.846,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31355,
    "c": 0.11442,
    "h": 310.4
  },
  "luminance": 0.02687
}

Semantic roles & 50–950 ramp

primary
#431A5B
secondary
#5E9140
accent
#DF4980
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #431A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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