#431257#431257

#431257 is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.1% C 0.121 H 314.0°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#431257
RGBrgb(67, 18, 87)
HSLhsl(283, 66%, 21%)
HSVhsv(283, 79%, 34%)
CMYKcmyk(23%, 79.3%, 0%, 65.9%)
CIE-LABlab(17.06, 35.00, -30.89)
CIE-LCHlch(17.06, 46.68, 318.57°)
OKLaboklab(30.05% 0.0843 -0.0872)
OKLCHoklch(30.05% 0.121 314)
XYZxyz(4.2511, 2.3142, 9.2377)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#431257 #265712
analogous
#211257 #431257 #571248
triadic
#431257 #574312 #125743
tetradic
#431257 #572112 #265712 #124857
square
#431257 #572112 #265712 #124857
split-complementary
#431257 #485712 #125721
monochromatic
#140519 #1C0824 #431257 #6A1C8A #9127BC

Accessibility & contrast

On white

14.36
#431257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #431257
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##431257#FFFFFF#000000##FFFFFF
##4312571.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002759
Deuteranopia (green-blind)
#0D2B55
Tritanopia (blue-blind)
#412133
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #431257;
/* rgb */ color: rgb(67, 18, 87);
/* oklch */ color: oklch(30.1% 0.121 314.0);
Tailwind
colors: {
  custom: {
    50: '#7a5587',
    500: '#431257',
    950: '#000000',
  },
}
SCSS
$custom: #431257;
$custom-light: #7a5587;
$custom-dark: #000000;
JSON
{
  "hex": "#431257",
  "rgb": {
    "r": 67,
    "g": 18,
    "b": 87
  },
  "hsl": {
    "h": 282.609,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30051,
    "c": 0.12124,
    "h": 314
  },
  "luminance": 0.02314
}

Semantic roles & 50–950 ramp

primary
#431257
secondary
#4F9035
accent
#E93F70
background
#F7F5F8
surface
#EEE9EF
border
#C9C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #431257

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

Preview Lab → · Contrast checker → · Palette generator →

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