#431784#431784

#431784 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.165 H 294.2°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#431784
RGBrgb(67, 23, 132)
HSLhsl(264, 70%, 30%)
HSVhsv(264, 83%, 52%)
CMYKcmyk(49.2%, 82.6%, 0%, 48.2%)
CIE-LABlab(21.84, 44.30, -52.36)
CIE-LCHlch(21.84, 68.59, 310.23°)
OKLaboklab(34.65% 0.0675 -0.1502)
OKLCHoklch(34.65% 0.165 294.2)
XYZxyz(6.7848, 3.4718, 22.1380)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431784 #588417
analogous
#172184 #431784 #791784
triadic
#431784 #844317 #178443
tetradic
#431784 #841721 #588417 #178479
square
#431784 #841721 #588417 #178479
split-complementary
#431784 #847917 #218417
monochromatic
#0E051C #290E50 #431784 #5D20B8 #7B39DC

Accessibility & contrast

On white

12.39
#431784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#431784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431784
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431784#FFFFFF#000000##FFFFFF
##4317841.0012.391.6912.39
#FFFFFF12.391.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003587
Deuteranopia (green-blind)
#003282
Tritanopia (blue-blind)
#2F374E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #431784;
/* rgb */ color: rgb(67, 23, 132);
/* oklch */ color: oklch(34.7% 0.165 294.2);
Tailwind
colors: {
  custom: {
    50: '#7f5ba9',
    500: '#431784',
    950: '#000000',
  },
}
SCSS
$custom: #431784;
$custom-light: #7f5ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#431784",
  "rgb": {
    "r": 67,
    "g": 23,
    "b": 132
  },
  "hsl": {
    "h": 264.22,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34653,
    "c": 0.16472,
    "h": 294.2
  },
  "luminance": 0.03472
}

Semantic roles & 50–950 ramp

primary
#431784
secondary
#87B83F
accent
#ED3BA5
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #431784

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

Preview Lab → · Contrast checker → · Palette generator →

#431784 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva