#431F8C#431F8C

#431F8C is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.166 H 290.7°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#431F8C
RGBrgb(67, 31, 140)
HSLhsl(260, 64%, 34%)
HSVhsv(260, 78%, 55%)
CMYKcmyk(52.1%, 77.9%, 0%, 45.1%)
CIE-LABlab(23.89, 42.87, -54.01)
CIE-LCHlch(23.89, 68.96, 308.44°)
OKLaboklab(36.32% 0.0587 -0.1552)
OKLCHoklch(36.32% 0.166 290.7)
XYZxyz(7.5370, 4.0664, 25.1936)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431F8C #688C1F
analogous
#1F318C #431F8C #791F8C
triadic
#431F8C #8C431F #1F8C43
tetradic
#431F8C #8C1F31 #688C1F #1F8C79
square
#431F8C #8C1F31 #688C1F #1F8C79
split-complementary
#431F8C #8C791F #318C1F
monochromatic
#130928 #2B145A #431F8C #5B2ABE #7B4ED8

Accessibility & contrast

On white

11.58
#431F8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#431F8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431F8C
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431F8C#FFFFFF#000000##FFFFFF
##431F8C1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#293D54
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #431f8c;
/* rgb */ color: rgb(67, 31, 140);
/* oklch */ color: oklch(36.3% 0.166 290.7);
Tailwind
colors: {
  custom: {
    50: '#7f5faf',
    500: '#431f8c',
    950: '#000000',
  },
}
SCSS
$custom: #431f8c;
$custom-light: #7f5faf;
$custom-dark: #000000;
JSON
{
  "hex": "#431f8c",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 140
  },
  "hsl": {
    "h": 259.817,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36318,
    "c": 0.1659,
    "h": 290.7
  },
  "luminance": 0.04067
}

Semantic roles & 50–950 ramp

primary
#431F8C
secondary
#96BB4C
accent
#E741B0
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #431F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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