#230231#230231

#230231 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.6% C 0.091 H 313.5°. Best body text is #FFFFFF at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#230231
RGBrgb(35, 2, 49)
HSLhsl(282, 92%, 10%)
HSVhsv(282, 96%, 19%)
CMYKcmyk(28.6%, 95.9%, 0%, 80.8%)
CIE-LABlab(5.62, 25.42, -22.84)
CIE-LCHlch(5.62, 34.17, 318.05°)
OKLaboklab(19.61% 0.0627 -0.0661)
OKLCHoklch(19.61% 0.091 313.5)
XYZxyz(1.2691, 0.6225, 2.9584)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230231 #103102
analogous
#0C0231 #230231 #310227
triadic
#230231 #312302 #023123
tetradic
#230231 #310C02 #103102 #022731
square
#230231 #310C02 #103102 #022731
split-complementary
#230231 #273102 #02310C
monochromatic
#15011D #15011D #230231 #4D046C #7707A7

Accessibility & contrast

On white

18.68
#230231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#230231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230231
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230231#FFFFFF#000000##FFFFFF
##2302311.0018.681.1218.68
#FFFFFF18.681.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001132
Deuteranopia (green-blind)
#001330
Tritanopia (blue-blind)
#210C19
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #230231;
/* rgb */ color: rgb(35, 2, 49);
/* oklch */ color: oklch(19.6% 0.091 313.5);
Tailwind
colors: {
  custom: {
    50: '#604769',
    500: '#230231',
    950: '#000000',
  },
}
SCSS
$custom: #230231;
$custom-light: #604769;
$custom-dark: #000000;
JSON
{
  "hex": "#230231",
  "rgb": {
    "r": 35,
    "g": 2,
    "b": 49
  },
  "hsl": {
    "h": 282.128,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.19615,
    "c": 0.09109,
    "h": 313.5
  },
  "luminance": 0.00622
}

Semantic roles & 50–950 ramp

primary
#230231
secondary
#357519
accent
#FF2969
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #230231

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

Preview Lab → · Contrast checker → · Palette generator →

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