#431155#431155

#431155 is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.8% C 0.120 H 315.3°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#431155
RGBrgb(67, 17, 85)
HSLhsl(284, 67%, 20%)
HSVhsv(284, 80%, 33%)
CMYKcmyk(21.2%, 80%, 0%, 66.7%)
CIE-LABlab(16.75, 34.97, -30.03)
CIE-LCHlch(16.75, 46.10, 319.34°)
OKLaboklab(29.78% 0.0857 -0.0846)
OKLCHoklch(29.78% 0.12 315.3)
XYZxyz(4.1546, 2.2502, 8.8081)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431155 #235511
analogous
#211155 #431155 #551145
triadic
#431155 #554311 #115543
tetradic
#431155 #552111 #235511 #114555
square
#431155 #552111 #235511 #114555
split-complementary
#431155 #455511 #115521
monochromatic
#14051A #1B0722 #431155 #6B1B88 #9325BB

Accessibility & contrast

On white

14.48
#431155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#431155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431155
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431155#FFFFFF#000000##FFFFFF
##4311551.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002757
Deuteranopia (green-blind)
#0F2B54
Tritanopia (blue-blind)
#422032
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #431155;
/* rgb */ color: rgb(67, 17, 85);
/* oklch */ color: oklch(29.8% 0.120 315.3);
Tailwind
colors: {
  custom: {
    50: '#7a5585',
    500: '#431155',
    950: '#000000',
  },
}
SCSS
$custom: #431155;
$custom-light: #7a5585;
$custom-dark: #000000;
JSON
{
  "hex": "#431155",
  "rgb": {
    "r": 67,
    "g": 17,
    "b": 85
  },
  "hsl": {
    "h": 284.118,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.29784,
    "c": 0.12042,
    "h": 315.3
  },
  "luminance": 0.0225
}

Semantic roles & 50–950 ramp

primary
#431155
secondary
#4C8E34
accent
#EA3E6C
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #431155

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

Preview Lab → · Contrast checker → · Palette generator →

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