#431668#431668

#431668 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.135 H 304.7°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#431668
RGBrgb(67, 22, 104)
HSLhsl(273, 65%, 25%)
HSVhsv(273, 79%, 41%)
CMYKcmyk(35.6%, 78.8%, 0%, 59.2%)
CIE-LABlab(19.08, 37.36, -38.89)
CIE-LCHlch(19.08, 53.93, 313.85°)
OKLaboklab(31.92% 0.0767 -0.1107)
OKLCHoklch(31.92% 0.135 304.7)
XYZxyz(5.0998, 2.7666, 13.3594)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431668 #3B6816
analogous
#1A1668 #431668 #681664
triadic
#431668 #684316 #166843
tetradic
#431668 #681A16 #3B6816 #166468
square
#431668 #681A16 #3B6816 #166468
split-complementary
#431668 #646816 #16681A
monochromatic
#100519 #220B35 #431668 #64219B #842BCD

Accessibility & contrast

On white

13.52
#431668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#431668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431668
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431668#FFFFFF#000000##FFFFFF
##4316681.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#002E66
Tritanopia (blue-blind)
#3C2A3E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #431668;
/* rgb */ color: rgb(67, 22, 104);
/* oklch */ color: oklch(31.9% 0.135 304.7);
Tailwind
colors: {
  custom: {
    50: '#7b5894',
    500: '#431668',
    950: '#000000',
  },
}
SCSS
$custom: #431668;
$custom-light: #7b5894;
$custom-dark: #000000;
JSON
{
  "hex": "#431668",
  "rgb": {
    "r": 67,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 272.927,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31924,
    "c": 0.13468,
    "h": 304.7
  },
  "luminance": 0.02767
}

Semantic roles & 50–950 ramp

primary
#431668
secondary
#689F3B
accent
#E8408C
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #431668

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

Preview Lab → · Contrast checker → · Palette generator →

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