#431C7B#431C7B

#431C7B is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.149 H 296.3°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#431C7B
RGBrgb(67, 28, 123)
HSLhsl(265, 63%, 30%)
HSVhsv(265, 77%, 48%)
CMYKcmyk(45.5%, 77.2%, 0%, 51.8%)
CIE-LABlab(21.78, 39.57, -46.77)
CIE-LCHlch(21.78, 61.26, 310.23°)
OKLaboklab(34.34% 0.0661 -0.1339)
OKLCHoklch(34.34% 0.149 296.3)
XYZxyz(6.3042, 3.4537, 19.0695)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431C7B #547B1C
analogous
#1C247B #431C7B #731C7B
triadic
#431C7B #7B431C #1C7B43
tetradic
#431C7B #7B1C24 #547B1C #1C7B73
square
#431C7B #7B1C24 #547B1C #1C7B73
split-complementary
#431C7B #7B731C #247B1C
monochromatic
#0E0619 #281149 #431C7B #5E27AD #7B3ED3

Accessibility & contrast

On white

12.42
#431C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#431C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431C7B
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431C7B#FFFFFF#000000##FFFFFF
##431C7B1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#34354A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #431c7b;
/* rgb */ color: rgb(67, 28, 123);
/* oklch */ color: oklch(34.3% 0.149 296.3);
Tailwind
colors: {
  custom: {
    50: '#7d5ca2',
    500: '#431c7b',
    950: '#000000',
  },
}
SCSS
$custom: #431c7b;
$custom-light: #7d5ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#431c7b",
  "rgb": {
    "r": 67,
    "g": 28,
    "b": 123
  },
  "hsl": {
    "h": 264.632,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34344,
    "c": 0.1493,
    "h": 296.3
  },
  "luminance": 0.03454
}

Semantic roles & 50–950 ramp

primary
#431C7B
secondary
#83AF44
accent
#E642A3
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #431C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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