#431D7B#431D7B

#431D7B is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.148 H 296.1°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#431D7B
RGBrgb(67, 29, 123)
HSLhsl(264, 62%, 30%)
HSVhsv(264, 76%, 48%)
CMYKcmyk(45.5%, 76.4%, 0%, 51.8%)
CIE-LABlab(21.95, 39.07, -46.48)
CIE-LCHlch(21.95, 60.72, 310.05°)
OKLaboklab(34.47% 0.0651 -0.1331)
OKLCHoklch(34.47% 0.148 296.1)
XYZxyz(6.3283, 3.5019, 19.0776)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431D7B #557B1D
analogous
#1D267B #431D7B #721D7B
triadic
#431D7B #7B431D #1D7B43
tetradic
#431D7B #7B1D26 #557B1D #1D7B72
square
#431D7B #7B1D26 #557B1D #1D7B72
split-complementary
#431D7B #7B721D #267B1D
monochromatic
#0D0619 #281149 #431D7B #5E29AD #7B40D2

Accessibility & contrast

On white

12.35
#431D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#431D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431D7B
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431D7B#FFFFFF#000000##FFFFFF
##431D7B1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#34364A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #431d7b;
/* rgb */ color: rgb(67, 29, 123);
/* oklch */ color: oklch(34.5% 0.148 296.1);
Tailwind
colors: {
  custom: {
    50: '#7d5da2',
    500: '#431d7b',
    950: '#000000',
  },
}
SCSS
$custom: #431d7b;
$custom-light: #7d5da2;
$custom-dark: #000000;
JSON
{
  "hex": "#431d7b",
  "rgb": {
    "r": 67,
    "g": 29,
    "b": 123
  },
  "hsl": {
    "h": 264.255,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34467,
    "c": 0.14813,
    "h": 296.1
  },
  "luminance": 0.03502
}

Semantic roles & 50–950 ramp

primary
#431D7B
secondary
#84AF45
accent
#E543A3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #431D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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