#431255#431255

#431255 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.9% C 0.119 H 315.2°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#431255
RGBrgb(67, 18, 85)
HSLhsl(284, 65%, 20%)
HSVhsv(284, 79%, 33%)
CMYKcmyk(21.2%, 78.8%, 0%, 66.7%)
CIE-LABlab(16.90, 34.54, -29.79)
CIE-LCHlch(16.90, 45.61, 319.22°)
OKLaboklab(29.89% 0.0846 -0.0839)
OKLCHoklch(29.89% 0.119 315.2)
XYZxyz(4.1705, 2.2819, 8.8133)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431255 #245512
analogous
#221255 #431255 #551245
triadic
#431255 #554312 #125543
tetradic
#431255 #552212 #245512 #124555
square
#431255 #552212 #245512 #124555
split-complementary
#431255 #455512 #125522
monochromatic
#140519 #1B0722 #431255 #6B1D88 #9327BA

Accessibility & contrast

On white

14.42
#431255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#431255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #431255
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431255#FFFFFF#000000##FFFFFF
##4312551.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002757
Deuteranopia (green-blind)
#102B54
Tritanopia (blue-blind)
#422032
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #431255;
/* rgb */ color: rgb(67, 18, 85);
/* oklch */ color: oklch(29.9% 0.119 315.2);
Tailwind
colors: {
  custom: {
    50: '#7a5585',
    500: '#431255',
    950: '#000000',
  },
}
SCSS
$custom: #431255;
$custom-light: #7a5585;
$custom-dark: #000000;
JSON
{
  "hex": "#431255",
  "rgb": {
    "r": 67,
    "g": 18,
    "b": 85
  },
  "hsl": {
    "h": 283.881,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29893,
    "c": 0.11914,
    "h": 315.2
  },
  "luminance": 0.02282
}

Semantic roles & 50–950 ramp

primary
#431255
secondary
#4D8E35
accent
#E8406D
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #431255

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

Preview Lab → · Contrast checker → · Palette generator →

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