#431F7C#431F7C

#431F7C is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.147 H 295.3°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#431F7C
RGBrgb(67, 31, 124)
HSLhsl(263, 60%, 30%)
HSVhsv(263, 75%, 49%)
CMYKcmyk(46%, 75%, 0%, 51.4%)
CIE-LABlab(22.40, 38.33, -46.38)
CIE-LCHlch(22.40, 60.17, 309.57°)
OKLaboklab(34.81% 0.0629 -0.1328)
OKLCHoklch(34.81% 0.147 295.3)
XYZxyz(6.4418, 3.6283, 19.4258)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431F7C #587C1F
analogous
#1F297C #431F7C #711F7C
triadic
#431F7C #7C431F #1F7C43
tetradic
#431F7C #7C1F29 #587C1F #1F7C71
square
#431F7C #7C1F29 #587C1F #1F7C71
split-complementary
#431F7C #7C711F #297C1F
monochromatic
#0E071A #29134B #431F7C #5D2BAD #7B45D0

Accessibility & contrast

On white

12.17
#431F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#431F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431F7C
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431F7C#FFFFFF#000000##FFFFFF
##431F7C1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#33374B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #431f7c;
/* rgb */ color: rgb(67, 31, 124);
/* oklch */ color: oklch(34.8% 0.147 295.3);
Tailwind
colors: {
  custom: {
    50: '#7d5ea3',
    500: '#431f7c',
    950: '#000000',
  },
}
SCSS
$custom: #431f7c;
$custom-light: #7d5ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#431f7c",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 124
  },
  "hsl": {
    "h": 263.226,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34814,
    "c": 0.14692,
    "h": 295.3
  },
  "luminance": 0.03629
}

Semantic roles & 50–950 ramp

primary
#431F7C
secondary
#87AF48
accent
#E345A6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #431F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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