#431B7E#431B7E

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

Color values

HEX#431B7E
RGBrgb(67, 27, 126)
HSLhsl(264, 65%, 30%)
HSVhsv(264, 79%, 49%)
CMYKcmyk(46.8%, 78.6%, 0%, 50.6%)
CIE-LABlab(21.88, 40.88, -48.50)
CIE-LCHlch(21.88, 63.43, 310.13°)
OKLaboklab(34.51% 0.0662 -0.139)
OKLCHoklch(34.51% 0.154 295.5)
XYZxyz(6.4716, 3.4834, 20.0660)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431B7E #567E1B
analogous
#1B257E #431B7E #741B7E
triadic
#431B7E #7E431B #1B7E43
tetradic
#431B7E #7E1B25 #567E1B #1B7E74
square
#431B7E #7E1B25 #567E1B #1B7E74
split-complementary
#431B7E #7E741B #257E1B
monochromatic
#0D0519 #28104C #431B7E #5E26B0 #7B3ED6

Accessibility & contrast

On white

12.38
#431B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431B7E
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431B7E#FFFFFF#000000##FFFFFF
##431B7E1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#32364B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #431b7e;
/* rgb */ color: rgb(67, 27, 126);
/* oklch */ color: oklch(34.5% 0.154 295.5);
Tailwind
colors: {
  custom: {
    50: '#7e5ca4',
    500: '#431b7e',
    950: '#000000',
  },
}
SCSS
$custom: #431b7e;
$custom-light: #7e5ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#431b7e",
  "rgb": {
    "r": 67,
    "g": 27,
    "b": 126
  },
  "hsl": {
    "h": 264.242,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.34505,
    "c": 0.15391,
    "h": 295.5
  },
  "luminance": 0.03484
}

Semantic roles & 50–950 ramp

primary
#431B7E
secondary
#85B243
accent
#E840A4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #431B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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