#431F7A#431F7A

#431F7A is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.145 H 296.0°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#431F7A
RGBrgb(67, 31, 122)
HSLhsl(264, 59%, 30%)
HSVhsv(264, 75%, 48%)
CMYKcmyk(45.1%, 74.6%, 0%, 52.2%)
CIE-LABlab(22.23, 37.76, -45.40)
CIE-LCHlch(22.23, 59.05, 309.76°)
OKLaboklab(34.63% 0.0634 -0.1299)
OKLCHoklch(34.63% 0.145 296)
XYZxyz(6.3166, 3.5783, 18.7664)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431F7A #567A1F
analogous
#1F297A #431F7A #701F7A
triadic
#431F7A #7A431F #1F7A43
tetradic
#431F7A #7A1F29 #567A1F #1F7A70
square
#431F7A #7A1F29 #567A1F #1F7A70
split-complementary
#431F7A #7A701F #297A1F
monochromatic
#0D0618 #281349 #431F7A #5E2BAB #7B44CF

Accessibility & contrast

On white

12.24
#431F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431F7A
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431F7A#FFFFFF#000000##FFFFFF
##431F7A1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#34364A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #431f7a;
/* rgb */ color: rgb(67, 31, 122);
/* oklch */ color: oklch(34.6% 0.145 296.0);
Tailwind
colors: {
  custom: {
    50: '#7d5ea1',
    500: '#431f7a',
    950: '#000000',
  },
}
SCSS
$custom: #431f7a;
$custom-light: #7d5ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#431f7a",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 122
  },
  "hsl": {
    "h": 263.736,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.34633,
    "c": 0.14452,
    "h": 296
  },
  "luminance": 0.03578
}

Semantic roles & 50–950 ramp

primary
#431F7A
secondary
#85AD47
accent
#E345A4
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #431F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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