#431C7F#431C7F

#431C7F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.154 H 295.0°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#431C7F
RGBrgb(67, 28, 127)
HSLhsl(264, 64%, 30%)
HSVhsv(264, 78%, 50%)
CMYKcmyk(47.2%, 78%, 0%, 50.2%)
CIE-LABlab(22.15, 40.67, -48.70)
CIE-LCHlch(22.15, 63.45, 309.87°)
OKLaboklab(34.72% 0.065 -0.1396)
OKLCHoklch(34.72% 0.154 295)
XYZxyz(6.5597, 3.5559, 20.4153)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431C7F #587F1C
analogous
#1C277F #431C7F #741C7F
triadic
#431C7F #7F431C #1C7F43
tetradic
#431C7F #7F1C27 #587F1C #1C7F74
square
#431C7F #7F1C27 #587F1C #1C7F74
split-complementary
#431C7F #7F741C #277F1C
monochromatic
#0E061B #29114D #431C7F #5D27B1 #7B40D5

Accessibility & contrast

On white

12.27
#431C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431C7F
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431C7F#FFFFFF#000000##FFFFFF
##431C7F1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#32374C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #431c7f;
/* rgb */ color: rgb(67, 28, 127);
/* oklch */ color: oklch(34.7% 0.154 295.0);
Tailwind
colors: {
  custom: {
    50: '#7e5da5',
    500: '#431c7f',
    950: '#000000',
  },
}
SCSS
$custom: #431c7f;
$custom-light: #7e5da5;
$custom-dark: #000000;
JSON
{
  "hex": "#431c7f",
  "rgb": {
    "r": 67,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 263.636,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34717,
    "c": 0.15396,
    "h": 295
  },
  "luminance": 0.03556
}

Semantic roles & 50–950 ramp

primary
#431C7F
secondary
#87B344
accent
#E741A6
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #431C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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