#431E7F#431E7F

#431E7F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.152 H 294.6°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#431E7F
RGBrgb(67, 30, 127)
HSLhsl(263, 62%, 31%)
HSVhsv(263, 76%, 50%)
CMYKcmyk(47.2%, 76.4%, 0%, 50.2%)
CIE-LABlab(22.49, 39.69, -48.13)
CIE-LCHlch(22.49, 62.38, 309.50°)
OKLaboklab(34.96% 0.0631 -0.1379)
OKLCHoklch(34.96% 0.152 294.6)
XYZxyz(6.6087, 3.6540, 20.4316)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431E7F #5A7F1E
analogous
#1E297F #431E7F #731E7F
triadic
#431E7F #7F431E #1E7F43
tetradic
#431E7F #7F1E29 #5A7F1E #1E7F73
square
#431E7F #7F1E29 #5A7F1E #1E7F73
split-complementary
#431E7F #7F731E #297F1E
monochromatic
#0F071C #29124D #431E7F #5D2AB1 #7B44D3

Accessibility & contrast

On white

12.13
#431E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#431E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431E7F
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431E7F#FFFFFF#000000##FFFFFF
##431E7F1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#32384D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #431e7f;
/* rgb */ color: rgb(67, 30, 127);
/* oklch */ color: oklch(35.0% 0.152 294.6);
Tailwind
colors: {
  custom: {
    50: '#7e5ea5',
    500: '#431e7f',
    950: '#000000',
  },
}
SCSS
$custom: #431e7f;
$custom-light: #7e5ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#431e7f",
  "rgb": {
    "r": 67,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 262.887,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34962,
    "c": 0.15169,
    "h": 294.6
  },
  "luminance": 0.03654
}

Semantic roles & 50–950 ramp

primary
#431E7F
secondary
#89B247
accent
#E543A7
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #431E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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