#431A7D#431A7D

#431A7D is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.154 H 295.9°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#431A7D
RGBrgb(67, 26, 125)
HSLhsl(265, 66%, 30%)
HSVhsv(265, 79%, 49%)
CMYKcmyk(46.4%, 79.2%, 0%, 51%)
CIE-LABlab(21.63, 41.07, -48.28)
CIE-LCHlch(21.63, 63.39, 310.39°)
OKLaboklab(34.29% 0.0673 -0.1383)
OKLCHoklch(34.29% 0.154 295.9)
XYZxyz(6.3848, 3.4126, 19.7204)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431A7D #547D1A
analogous
#1A237D #431A7D #741A7D
triadic
#431A7D #7D431A #1A7D43
tetradic
#431A7D #7D1A23 #547D1A #1A7D74
square
#431A7D #7D1A23 #547D1A #1A7D74
split-complementary
#431A7D #7D741A #237D1A
monochromatic
#0E0519 #280F4A #431A7D #5E25B0 #7B3BD6

Accessibility & contrast

On white

12.48
#431A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#431A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431A7D
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431A7D#FFFFFF#000000##FFFFFF
##431A7D1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#33354B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #431a7d;
/* rgb */ color: rgb(67, 26, 125);
/* oklch */ color: oklch(34.3% 0.154 295.9);
Tailwind
colors: {
  custom: {
    50: '#7e5ca4',
    500: '#431a7d',
    950: '#000000',
  },
}
SCSS
$custom: #431a7d;
$custom-light: #7e5ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#431a7d",
  "rgb": {
    "r": 67,
    "g": 26,
    "b": 125
  },
  "hsl": {
    "h": 264.848,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34295,
    "c": 0.15385,
    "h": 295.9
  },
  "luminance": 0.03413
}

Semantic roles & 50–950 ramp

primary
#431A7D
secondary
#83B142
accent
#E93FA2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #431A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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