#431B7F#431B7F

#431B7F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.155 H 295.1°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#431B7F
RGBrgb(67, 27, 127)
HSLhsl(264, 65%, 30%)
HSVhsv(264, 79%, 50%)
CMYKcmyk(47.2%, 78.7%, 0%, 50.2%)
CIE-LABlab(21.98, 41.15, -48.98)
CIE-LCHlch(21.98, 63.97, 310.04°)
OKLaboklab(34.6% 0.0659 -0.1404)
OKLCHoklch(34.6% 0.155 295.1)
XYZxyz(6.5364, 3.5093, 20.4075)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431B7F #577F1B
analogous
#1B257F #431B7F #751B7F
triadic
#431B7F #7F431B #1B7F43
tetradic
#431B7F #7F1B25 #577F1B #1B7F75
square
#431B7F #7F1B25 #577F1B #1B7F75
split-complementary
#431B7F #7F751B #257F1B
monochromatic
#0E061A #28104D #431B7F #5E26B1 #7B3ED6

Accessibility & contrast

On white

12.34
#431B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431B7F
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431B7F#FFFFFF#000000##FFFFFF
##431B7F1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#32364C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #431b7f;
/* rgb */ color: rgb(67, 27, 127);
/* oklch */ color: oklch(34.6% 0.155 295.1);
Tailwind
colors: {
  custom: {
    50: '#7e5ca5',
    500: '#431b7f',
    950: '#000000',
  },
}
SCSS
$custom: #431b7f;
$custom-light: #7e5ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#431b7f",
  "rgb": {
    "r": 67,
    "g": 27,
    "b": 127
  },
  "hsl": {
    "h": 264,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.346,
    "c": 0.15506,
    "h": 295.1
  },
  "luminance": 0.03509
}

Semantic roles & 50–950 ramp

primary
#431B7F
secondary
#86B343
accent
#E840A5
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #431B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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