#431F7E#431F7E

#431F7E is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.149 H 294.7°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#431F7E
RGBrgb(67, 31, 126)
HSLhsl(263, 61%, 31%)
HSVhsv(263, 75%, 49%)
CMYKcmyk(46.8%, 75.4%, 0%, 50.6%)
CIE-LABlab(22.58, 38.90, -47.36)
CIE-LCHlch(22.58, 61.28, 309.40°)
OKLaboklab(35% 0.0624 -0.1356)
OKLCHoklch(35% 0.149 294.7)
XYZxyz(6.5696, 3.6794, 20.0987)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431F7E #5A7E1F
analogous
#1F2A7E #431F7E #721F7E
triadic
#431F7E #7E431F #1F7E43
tetradic
#431F7E #7E1F2A #5A7E1F #1F7E72
square
#431F7E #7E1F2A #5A7E1F #1F7E72
split-complementary
#431F7E #7E721F #2A7E1F
monochromatic
#0F071C #29134D #431F7E #5D2BAF #7B46D1

Accessibility & contrast

On white

12.10
#431F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#431F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431F7E
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431F7E#FFFFFF#000000##FFFFFF
##431F7E1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#32384C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #431f7e;
/* rgb */ color: rgb(67, 31, 126);
/* oklch */ color: oklch(35.0% 0.149 294.7);
Tailwind
colors: {
  custom: {
    50: '#7d5ea4',
    500: '#431f7e',
    950: '#000000',
  },
}
SCSS
$custom: #431f7e;
$custom-light: #7d5ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#431f7e",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 126
  },
  "hsl": {
    "h": 262.737,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34997,
    "c": 0.14932,
    "h": 294.7
  },
  "luminance": 0.0368
}

Semantic roles & 50–950 ramp

primary
#431F7E
secondary
#89B148
accent
#E444A7
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #431F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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