#431C7E#431C7E

#431C7E is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.153 H 295.3°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#431C7E
RGBrgb(67, 28, 126)
HSLhsl(264, 64%, 30%)
HSVhsv(264, 78%, 49%)
CMYKcmyk(46.8%, 77.8%, 0%, 50.6%)
CIE-LABlab(22.05, 40.40, -48.22)
CIE-LCHlch(22.05, 62.91, 309.95°)
OKLaboklab(34.62% 0.0653 -0.1382)
OKLCHoklch(34.62% 0.153 295.3)
XYZxyz(6.4949, 3.5300, 20.0738)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431C7E #577E1C
analogous
#1C267E #431C7E #741C7E
triadic
#431C7E #7E431C #1C7E43
tetradic
#431C7E #7E1C26 #577E1C #1C7E74
square
#431C7E #7E1C26 #577E1C #1C7E74
split-complementary
#431C7E #7E741C #267E1C
monochromatic
#0E061A #28114C #431C7E #5E27B0 #7B40D5

Accessibility & contrast

On white

12.31
#431C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431C7E
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431C7E#FFFFFF#000000##FFFFFF
##431C7E1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#32364C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #431c7e;
/* rgb */ color: rgb(67, 28, 126);
/* oklch */ color: oklch(34.6% 0.153 295.3);
Tailwind
colors: {
  custom: {
    50: '#7e5da4',
    500: '#431c7e',
    950: '#000000',
  },
}
SCSS
$custom: #431c7e;
$custom-light: #7e5da4;
$custom-dark: #000000;
JSON
{
  "hex": "#431c7e",
  "rgb": {
    "r": 67,
    "g": 28,
    "b": 126
  },
  "hsl": {
    "h": 263.878,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34623,
    "c": 0.1528,
    "h": 295.3
  },
  "luminance": 0.0353
}

Semantic roles & 50–950 ramp

primary
#431C7E
secondary
#86B244
accent
#E741A5
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #431C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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