#431B7A#431B7A

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

Color values

HEX#431B7A
RGBrgb(67, 27, 122)
HSLhsl(265, 64%, 29%)
HSVhsv(265, 78%, 48%)
CMYKcmyk(45.1%, 77.9%, 0%, 52.2%)
CIE-LABlab(21.51, 39.78, -46.56)
CIE-LCHlch(21.51, 61.24, 310.51°)
OKLaboklab(34.13% 0.0673 -0.1333)
OKLCHoklch(34.13% 0.149 296.8)
XYZxyz(6.2186, 3.3822, 18.7338)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431B7A #527A1B
analogous
#1B237A #431B7A #731B7A
triadic
#431B7A #7A431B #1B7A43
tetradic
#431B7A #7A1B23 #527A1B #1B7A73
square
#431B7A #7A1B23 #527A1B #1B7A73
split-complementary
#431B7A #7A731B #237A1B
monochromatic
#0E0619 #271048 #431B7A #5F26AC #7C3CD4

Accessibility & contrast

On white

12.53
#431B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431B7A
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431B7A#FFFFFF#000000##FFFFFF
##431B7A1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#343449
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #431b7a;
/* rgb */ color: rgb(67, 27, 122);
/* oklch */ color: oklch(34.1% 0.149 296.8);
Tailwind
colors: {
  custom: {
    50: '#7d5ca1',
    500: '#431b7a',
    950: '#000000',
  },
}
SCSS
$custom: #431b7a;
$custom-light: #7d5ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#431b7a",
  "rgb": {
    "r": 67,
    "g": 27,
    "b": 122
  },
  "hsl": {
    "h": 265.263,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34131,
    "c": 0.14929,
    "h": 296.8
  },
  "luminance": 0.03382
}

Semantic roles & 50–950 ramp

primary
#431B7A
secondary
#81AE43
accent
#E741A1
background
#F8F5FA
surface
#EFE9F3
border
#CAC5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #431B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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