#431F7B#431F7B

#431F7B is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.146 H 295.7°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#431F7B
RGBrgb(67, 31, 123)
HSLhsl(263, 60%, 30%)
HSVhsv(263, 75%, 48%)
CMYKcmyk(45.5%, 74.8%, 0%, 51.8%)
CIE-LABlab(22.31, 38.05, -45.89)
CIE-LCHlch(22.31, 59.61, 309.66°)
OKLaboklab(34.72% 0.0631 -0.1313)
OKLCHoklch(34.72% 0.146 295.7)
XYZxyz(6.3789, 3.6032, 19.0944)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431F7B #577B1F
analogous
#1F297B #431F7B #711F7B
triadic
#431F7B #7B431F #1F7B43
tetradic
#431F7B #7B1F29 #577B1F #1F7B71
square
#431F7B #7B1F29 #577B1F #1F7B71
split-complementary
#431F7B #7B711F #297B1F
monochromatic
#0E0619 #28134A #431F7B #5E2BAC #7B44D0

Accessibility & contrast

On white

12.21
#431F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#431F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431F7B
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431F7B#FFFFFF#000000##FFFFFF
##431F7B1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#34374B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #431f7b;
/* rgb */ color: rgb(67, 31, 123);
/* oklch */ color: oklch(34.7% 0.146 295.7);
Tailwind
colors: {
  custom: {
    50: '#7d5ea2',
    500: '#431f7b',
    950: '#000000',
  },
}
SCSS
$custom: #431f7b;
$custom-light: #7d5ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#431f7b",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 123
  },
  "hsl": {
    "h": 263.478,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34723,
    "c": 0.14572,
    "h": 295.7
  },
  "luminance": 0.03603
}

Semantic roles & 50–950 ramp

primary
#431F7B
secondary
#86AE48
accent
#E345A5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #431F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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