#230431#230431

#230431 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.0% C 0.087 H 312.9°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#230431
RGBrgb(35, 4, 49)
HSLhsl(281, 85%, 10%)
HSVhsv(281, 92%, 19%)
CMYKcmyk(28.6%, 91.8%, 0%, 80.8%)
CIE-LABlab(6.01, 24.40, -22.22)
CIE-LCHlch(6.01, 33.00, 317.68°)
OKLaboklab(19.95% 0.0592 -0.0638)
OKLCHoklch(19.95% 0.087 312.9)
XYZxyz(1.2908, 0.6659, 2.9657)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230431 #123104
analogous
#0C0431 #230431 #310428
triadic
#230431 #312304 #043123
tetradic
#230431 #310C04 #123104 #042831
square
#230431 #310C04 #123104 #042831
split-complementary
#230431 #283104 #04310C
monochromatic
#14021C #14021C #230431 #4B096A #740DA2

Accessibility & contrast

On white

18.53
#230431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#230431 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230431
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230431#FFFFFF#000000##FFFFFF
##2304311.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001232
Deuteranopia (green-blind)
#011430
Tritanopia (blue-blind)
#210E1A
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #230431;
/* rgb */ color: rgb(35, 4, 49);
/* oklch */ color: oklch(20.0% 0.087 312.9);
Tailwind
colors: {
  custom: {
    50: '#604869',
    500: '#230431',
    950: '#000000',
  },
}
SCSS
$custom: #230431;
$custom-light: #604869;
$custom-dark: #000000;
JSON
{
  "hex": "#230431",
  "rgb": {
    "r": 35,
    "g": 4,
    "b": 49
  },
  "hsl": {
    "h": 281.333,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.19953,
    "c": 0.08707,
    "h": 312.9
  },
  "luminance": 0.00666
}

Semantic roles & 50–950 ramp

primary
#230431
secondary
#38731D
accent
#FB2D6D
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #230431

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

Preview Lab → · Contrast checker → · Palette generator →

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