#431566#431566

#431566 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.134 H 305.8°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#431566
RGBrgb(67, 21, 102)
HSLhsl(274, 66%, 24%)
HSVhsv(274, 79%, 40%)
CMYKcmyk(34.3%, 79.4%, 0%, 60%)
CIE-LABlab(18.75, 37.31, -38.12)
CIE-LCHlch(18.75, 53.34, 314.38°)
OKLaboklab(31.64% 0.0782 -0.1084)
OKLCHoklch(31.64% 0.134 305.8)
XYZxyz(4.9806, 2.6890, 12.8244)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431566 #386615
analogous
#1B1566 #431566 #661561
triadic
#431566 #664315 #156643
tetradic
#431566 #661B15 #386615 #156166
square
#431566 #661B15 #386615 #156166
split-complementary
#431566 #616615 #15661B
monochromatic
#110519 #220B33 #431566 #641F99 #862ACC

Accessibility & contrast

On white

13.66
#431566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#431566 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431566
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431566#FFFFFF#000000##FFFFFF
##4315661.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#002E64
Tritanopia (blue-blind)
#3D293C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #431566;
/* rgb */ color: rgb(67, 21, 102);
/* oklch */ color: oklch(31.6% 0.134 305.8);
Tailwind
colors: {
  custom: {
    50: '#7b5892',
    500: '#431566',
    950: '#000000',
  },
}
SCSS
$custom: #431566;
$custom-light: #7b5892;
$custom-dark: #000000;
JSON
{
  "hex": "#431566",
  "rgb": {
    "r": 67,
    "g": 21,
    "b": 102
  },
  "hsl": {
    "h": 274.074,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31637,
    "c": 0.13367,
    "h": 305.8
  },
  "luminance": 0.02689
}

Semantic roles & 50–950 ramp

primary
#431566
secondary
#659D3A
accent
#E93F88
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #431566

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

Preview Lab → · Contrast checker → · Palette generator →

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