#431F7F#431F7F

#431F7F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.151 H 294.4°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#431F7F
RGBrgb(67, 31, 127)
HSLhsl(263, 61%, 31%)
HSVhsv(263, 76%, 50%)
CMYKcmyk(47.2%, 75.6%, 0%, 50.2%)
CIE-LABlab(22.67, 39.18, -47.84)
CIE-LCHlch(22.67, 61.83, 309.31°)
OKLaboklab(35.09% 0.0622 -0.1371)
OKLCHoklch(35.09% 0.151 294.4)
XYZxyz(6.6344, 3.7054, 20.4402)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431F7F #5B7F1F
analogous
#1F2B7F #431F7F #731F7F
triadic
#431F7F #7F431F #1F7F43
tetradic
#431F7F #7F1F2B #5B7F1F #1F7F73
square
#431F7F #7F1F2B #5B7F1F #1F7F73
split-complementary
#431F7F #7F731F #2B7F1F
monochromatic
#0F071D #29134E #431F7F #5D2BB0 #7B46D2

Accessibility & contrast

On white

12.06
#431F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431F7F
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431F7F#FFFFFF#000000##FFFFFF
##431F7F1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#32384D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #431f7f;
/* rgb */ color: rgb(67, 31, 127);
/* oklch */ color: oklch(35.1% 0.151 294.4);
Tailwind
colors: {
  custom: {
    50: '#7d5ea5',
    500: '#431f7f',
    950: '#000000',
  },
}
SCSS
$custom: #431f7f;
$custom-light: #7d5ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#431f7f",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 127
  },
  "hsl": {
    "h": 262.5,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35088,
    "c": 0.15052,
    "h": 294.4
  },
  "luminance": 0.03706
}

Semantic roles & 50–950 ramp

primary
#431F7F
secondary
#8AB248
accent
#E444A8
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #431F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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