#431474#431474

#431474 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.150 H 300.1°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#431474
RGBrgb(67, 20, 116)
HSLhsl(269, 71%, 27%)
HSVhsv(269, 83%, 45%)
CMYKcmyk(42.2%, 82.8%, 0%, 54.5%)
CIE-LABlab(19.86, 41.33, -45.42)
CIE-LCHlch(19.86, 61.41, 312.30°)
OKLaboklab(32.8% 0.0752 -0.1299)
OKLCHoklch(32.8% 0.15 300.1)
XYZxyz(5.7165, 2.9545, 16.7887)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431474 #457414
analogous
#141574 #431474 #731474
triadic
#431474 #744314 #147443
tetradic
#431474 #741415 #457414 #147473
square
#431474 #741415 #457414 #147473
split-complementary
#431474 #747314 #157414
monochromatic
#0F051A #250B40 #431474 #611DA8 #7F28DA

Accessibility & contrast

On white

13.20
#431474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#431474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431474
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431474#FFFFFF#000000##FFFFFF
##4314741.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#002F72
Tritanopia (blue-blind)
#372F44
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #431474;
/* rgb */ color: rgb(67, 20, 116);
/* oklch */ color: oklch(32.8% 0.150 300.1);
Tailwind
colors: {
  custom: {
    50: '#7d589d',
    500: '#431474',
    950: '#000000',
  },
}
SCSS
$custom: #431474;
$custom-light: #7d589d;
$custom-dark: #000000;
JSON
{
  "hex": "#431474",
  "rgb": {
    "r": 67,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 269.375,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32803,
    "c": 0.15007,
    "h": 300.1
  },
  "luminance": 0.02955
}

Semantic roles & 50–950 ramp

primary
#431474
secondary
#73AA3A
accent
#ED3A96
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431474

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

Preview Lab → · Contrast checker → · Palette generator →

#431474 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva