#431D74#431D74

#431D74 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.140 H 298.5°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#431D74
RGBrgb(67, 29, 116)
HSLhsl(266, 60%, 28%)
HSVhsv(266, 75%, 45%)
CMYKcmyk(42.2%, 75%, 0%, 54.5%)
CIE-LABlab(21.33, 37.13, -43.02)
CIE-LCHlch(21.33, 56.83, 310.80°)
OKLaboklab(33.84% 0.0667 -0.1229)
OKLCHoklch(33.84% 0.14 298.5)
XYZxyz(5.9057, 3.3329, 16.8518)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431D74 #4E741D
analogous
#1D2274 #431D74 #6E1D74
triadic
#431D74 #74431D #1D7443
tetradic
#431D74 #741D22 #4E741D #1D746E
square
#431D74 #741D22 #4E741D #1D746E
split-complementary
#431D74 #746E1D #22741D
monochromatic
#0E0618 #271143 #431D74 #5F29A5 #7C3DCE

Accessibility & contrast

On white

12.60
#431D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#431D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431D74
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431D74#FFFFFF#000000##FFFFFF
##431D741.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003377
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#373346
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #431d74;
/* rgb */ color: rgb(67, 29, 116);
/* oklch */ color: oklch(33.8% 0.140 298.5);
Tailwind
colors: {
  custom: {
    50: '#7c5d9d',
    500: '#431d74',
    950: '#000000',
  },
}
SCSS
$custom: #431d74;
$custom-light: #7c5d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#431d74",
  "rgb": {
    "r": 67,
    "g": 29,
    "b": 116
  },
  "hsl": {
    "h": 266.207,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33836,
    "c": 0.13984,
    "h": 298.5
  },
  "luminance": 0.03333
}

Semantic roles & 50–950 ramp

primary
#431D74
secondary
#7DA845
accent
#E3459E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #431D74

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

Preview Lab → · Contrast checker → · Palette generator →

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