#431678#431678

#431678 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.152 H 298.3°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#431678
RGBrgb(67, 22, 120)
HSLhsl(268, 69%, 28%)
HSVhsv(268, 82%, 47%)
CMYKcmyk(44.2%, 81.7%, 0%, 52.9%)
CIE-LABlab(20.53, 41.53, -46.89)
CIE-LCHlch(20.53, 62.64, 311.53°)
OKLaboklab(33.39% 0.0723 -0.1342)
OKLCHoklch(33.39% 0.152 298.3)
XYZxyz(5.9909, 3.1231, 18.0528)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431678 #4B7816
analogous
#161A78 #431678 #741678
triadic
#431678 #784316 #167843
tetradic
#431678 #78161A #4B7816 #167874
square
#431678 #78161A #4B7816 #167874
split-complementary
#431678 #787416 #1A7816
monochromatic
#0E051A #260D44 #431678 #601FAC #7D2FD9

Accessibility & contrast

On white

12.93
#431678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#431678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431678
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431678#FFFFFF#000000##FFFFFF
##4316781.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#003076
Tritanopia (blue-blind)
#363147
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #431678;
/* rgb */ color: rgb(67, 22, 120);
/* oklch */ color: oklch(33.4% 0.152 298.3);
Tailwind
colors: {
  custom: {
    50: '#7d59a0',
    500: '#431678',
    950: '#000000',
  },
}
SCSS
$custom: #431678;
$custom-light: #7d59a0;
$custom-dark: #000000;
JSON
{
  "hex": "#431678",
  "rgb": {
    "r": 67,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 267.551,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33385,
    "c": 0.15243,
    "h": 298.3
  },
  "luminance": 0.03123
}

Semantic roles & 50–950 ramp

primary
#431678
secondary
#7AAD3C
accent
#EC3C9B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #431678

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

Preview Lab → · Contrast checker → · Palette generator →

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