#431148#431148

#431148 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.8% C 0.107 H 324.0°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#431148
RGBrgb(67, 17, 72)
HSLhsl(295, 62%, 17%)
HSVhsv(295, 76%, 28%)
CMYKcmyk(6.9%, 76.4%, 0%, 71.8%)
CIE-LABlab(15.81, 32.11, -22.65)
CIE-LCHlch(15.81, 39.29, 324.80°)
OKLaboklab(28.81% 0.0867 -0.063)
OKLCHoklch(28.81% 0.107 324)
XYZxyz(3.6848, 2.0623, 6.3336)
Luminance0.0206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431148 #164811
analogous
#271148 #431148 #481132
triadic
#431148 #484311 #114843
tetradic
#431148 #482711 #164811 #113248
square
#431148 #482711 #164811 #113248
split-complementary
#431148 #324811 #114827
monochromatic
#170619 #170619 #431148 #711D7A #9F28AB

Accessibility & contrast

On white

14.87
#431148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#431148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431148
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431148#FFFFFF#000000##FFFFFF
##4311481.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04244A
Deuteranopia (green-blind)
#1B2947
Tritanopia (blue-blind)
#441A2B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #431148;
/* rgb */ color: rgb(67, 17, 72);
/* oklch */ color: oklch(28.8% 0.107 324.0);
Tailwind
colors: {
  custom: {
    50: '#79547b',
    500: '#431148',
    950: '#000000',
  },
}
SCSS
$custom: #431148;
$custom-light: #79547b;
$custom-dark: #000000;
JSON
{
  "hex": "#431148",
  "rgb": {
    "r": 67,
    "g": 17,
    "b": 72
  },
  "hsl": {
    "h": 294.545,
    "s": 61.798,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28814,
    "c": 0.10721,
    "h": 324
  },
  "luminance": 0.02062
}

Semantic roles & 50–950 ramp

primary
#431148
secondary
#3A8233
accent
#E54352
background
#F7F5F7
surface
#EEE9EE
border
#C9C5C9
text
#090309
muted
#7B787B

Preview Lab

Preview with #431148

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

Preview Lab → · Contrast checker → · Palette generator →

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