#431E7B#431E7B

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

Color values

HEX#431E7B
RGBrgb(67, 30, 123)
HSLhsl(264, 61%, 30%)
HSVhsv(264, 76%, 48%)
CMYKcmyk(45.5%, 75.6%, 0%, 51.8%)
CIE-LABlab(22.13, 38.56, -46.19)
CIE-LCHlch(22.13, 60.17, 309.86°)
OKLaboklab(34.59% 0.0641 -0.1322)
OKLCHoklch(34.59% 0.147 295.9)
XYZxyz(6.3532, 3.5518, 19.0859)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431E7B #567B1E
analogous
#1E287B #431E7B #711E7B
triadic
#431E7B #7B431E #1E7B43
tetradic
#431E7B #7B1E28 #567B1E #1E7B71
square
#431E7B #7B1E28 #567B1E #1E7B71
split-complementary
#431E7B #7B711E #287B1E
monochromatic
#0D0619 #28124A #431E7B #5E2AAC #7B42D1

Accessibility & contrast

On white

12.28
#431E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#431E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431E7B
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431E7B#FFFFFF#000000##FFFFFF
##431E7B1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#34364B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #431e7b;
/* rgb */ color: rgb(67, 30, 123);
/* oklch */ color: oklch(34.6% 0.147 295.9);
Tailwind
colors: {
  custom: {
    50: '#7d5ea2',
    500: '#431e7b',
    950: '#000000',
  },
}
SCSS
$custom: #431e7b;
$custom-light: #7d5ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#431e7b",
  "rgb": {
    "r": 67,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 263.871,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.34594,
    "c": 0.14694,
    "h": 295.9
  },
  "luminance": 0.03552
}

Semantic roles & 50–950 ramp

primary
#431E7B
secondary
#85AE46
accent
#E444A4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #431E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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