#431F74#431F74

#431F74 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.137 H 298.1°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#431F74
RGBrgb(67, 31, 116)
HSLhsl(265, 58%, 29%)
HSVhsv(265, 73%, 45%)
CMYKcmyk(42.2%, 73.3%, 0%, 54.5%)
CIE-LABlab(21.70, 36.08, -42.41)
CIE-LCHlch(21.70, 55.68, 310.39°)
OKLaboklab(34.1% 0.0646 -0.1211)
OKLCHoklch(34.1% 0.137 298.1)
XYZxyz(5.9563, 3.4341, 16.8687)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431F74 #50741F
analogous
#1F2674 #431F74 #6E1F74
triadic
#431F74 #74431F #1F7443
tetradic
#431F74 #741F26 #50741F #1F746E
square
#431F74 #741F26 #50741F #1F746E
split-complementary
#431F74 #746E1F #26741F
monochromatic
#0E0618 #271244 #431F74 #5F2CA4 #7C41CC

Accessibility & contrast

On white

12.45
#431F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#431F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431F74
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431F74#FFFFFF#000000##FFFFFF
##431F741.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003477
Deuteranopia (green-blind)
#003372
Tritanopia (blue-blind)
#373447
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #431f74;
/* rgb */ color: rgb(67, 31, 116);
/* oklch */ color: oklch(34.1% 0.137 298.1);
Tailwind
colors: {
  custom: {
    50: '#7c5e9d',
    500: '#431f74',
    950: '#000000',
  },
}
SCSS
$custom: #431f74;
$custom-light: #7c5e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#431f74",
  "rgb": {
    "r": 67,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 265.412,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34102,
    "c": 0.13726,
    "h": 298.1
  },
  "luminance": 0.03434
}

Semantic roles & 50–950 ramp

primary
#431F74
secondary
#7FA847
accent
#E147A0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431F74

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

Preview Lab → · Contrast checker → · Palette generator →

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