#431768#431768

#431768 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.133 H 304.5°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#431768
RGBrgb(67, 23, 104)
HSLhsl(273, 64%, 25%)
HSVhsv(273, 78%, 41%)
CMYKcmyk(35.6%, 77.9%, 0%, 59.2%)
CIE-LABlab(19.25, 36.89, -38.63)
CIE-LCHlch(19.25, 53.41, 313.69°)
OKLaboklab(32.04% 0.0757 -0.1099)
OKLCHoklch(32.04% 0.133 304.5)
XYZxyz(5.1193, 2.8056, 13.3659)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431768 #3C6817
analogous
#1B1768 #431768 #681764
triadic
#431768 #684317 #176843
tetradic
#431768 #681B17 #3C6817 #176468
square
#431768 #681B17 #3C6817 #176468
split-complementary
#431768 #646817 #17681B
monochromatic
#100619 #230C36 #431768 #63229A #842DCC

Accessibility & contrast

On white

13.45
#431768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#431768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431768
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431768#FFFFFF#000000##FFFFFF
##4317681.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#002F66
Tritanopia (blue-blind)
#3C2B3E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #431768;
/* rgb */ color: rgb(67, 23, 104);
/* oklch */ color: oklch(32.0% 0.133 304.5);
Tailwind
colors: {
  custom: {
    50: '#7b5994',
    500: '#431768',
    950: '#000000',
  },
}
SCSS
$custom: #431768;
$custom-light: #7b5994;
$custom-dark: #000000;
JSON
{
  "hex": "#431768",
  "rgb": {
    "r": 67,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 272.593,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3204,
    "c": 0.13345,
    "h": 304.5
  },
  "luminance": 0.02806
}

Semantic roles & 50–950 ramp

primary
#431768
secondary
#699E3D
accent
#E7418D
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #431768

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

Preview Lab → · Contrast checker → · Palette generator →

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