#431A7B#431A7B

#431A7B is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.152 H 296.6°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#431A7B
RGBrgb(67, 26, 123)
HSLhsl(265, 65%, 29%)
HSVhsv(265, 79%, 48%)
CMYKcmyk(45.5%, 78.9%, 0%, 51.8%)
CIE-LABlab(21.44, 40.53, -47.32)
CIE-LCHlch(21.44, 62.30, 310.58°)
OKLaboklab(34.11% 0.0679 -0.1355)
OKLCHoklch(34.11% 0.152 296.6)
XYZxyz(6.2583, 3.3620, 19.0543)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431A7B #527B1A
analogous
#1A217B #431A7B #741A7B
triadic
#431A7B #7B431A #1A7B43
tetradic
#431A7B #7B1A21 #527B1A #1A7B74
square
#431A7B #7B1A21 #527B1A #1A7B74
split-complementary
#431A7B #7B741A #217B1A
monochromatic
#0E0519 #270F48 #431A7B #5F25AE #7C3AD5

Accessibility & contrast

On white

12.56
#431A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#431A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431A7B
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431A7B#FFFFFF#000000##FFFFFF
##431A7B1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#34344A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #431a7b;
/* rgb */ color: rgb(67, 26, 123);
/* oklch */ color: oklch(34.1% 0.152 296.6);
Tailwind
colors: {
  custom: {
    50: '#7d5ba2',
    500: '#431a7b',
    950: '#000000',
  },
}
SCSS
$custom: #431a7b;
$custom-light: #7d5ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#431a7b",
  "rgb": {
    "r": 67,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 265.361,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34107,
    "c": 0.15156,
    "h": 296.6
  },
  "luminance": 0.03362
}

Semantic roles & 50–950 ramp

primary
#431A7B
secondary
#81AF42
accent
#E840A1
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #431A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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