#431778#431778

#431778 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.151 H 298.1°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#431778
RGBrgb(67, 23, 120)
HSLhsl(267, 68%, 28%)
HSVhsv(267, 81%, 47%)
CMYKcmyk(44.2%, 80.8%, 0%, 52.9%)
CIE-LABlab(20.68, 41.09, -46.64)
CIE-LCHlch(20.68, 62.16, 311.38°)
OKLaboklab(33.49% 0.0714 -0.1335)
OKLCHoklch(33.49% 0.151 298.1)
XYZxyz(6.0104, 3.1620, 18.0593)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431778 #4C7817
analogous
#171C78 #431778 #731778
triadic
#431778 #784317 #177843
tetradic
#431778 #78171C #4C7817 #177873
square
#431778 #78171C #4C7817 #177873
split-complementary
#431778 #787317 #1C7817
monochromatic
#0E051A #260D45 #431778 #6021AB #7D32D8

Accessibility & contrast

On white

12.86
#431778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#431778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431778
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431778#FFFFFF#000000##FFFFFF
##4317781.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#003176
Tritanopia (blue-blind)
#353147
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #431778;
/* rgb */ color: rgb(67, 23, 120);
/* oklch */ color: oklch(33.5% 0.151 298.1);
Tailwind
colors: {
  custom: {
    50: '#7d5aa0',
    500: '#431778',
    950: '#000000',
  },
}
SCSS
$custom: #431778;
$custom-light: #7d5aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#431778",
  "rgb": {
    "r": 67,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 267.216,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33491,
    "c": 0.15139,
    "h": 298.1
  },
  "luminance": 0.03162
}

Semantic roles & 50–950 ramp

primary
#431778
secondary
#7BAD3E
accent
#EB3D9C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #431778

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

Preview Lab → · Contrast checker → · Palette generator →

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