#230131#230131

#230131 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.4% C 0.093 H 313.8°. Best body text is #FFFFFF at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#230131
RGBrgb(35, 1, 49)
HSLhsl(283, 96%, 10%)
HSVhsv(283, 98%, 19%)
CMYKcmyk(28.6%, 98%, 0%, 80.8%)
CIE-LABlab(5.43, 25.92, -23.16)
CIE-LCHlch(5.43, 34.76, 318.23°)
OKLaboklab(19.44% 0.0645 -0.0673)
OKLCHoklch(19.44% 0.093 313.8)
XYZxyz(1.2583, 0.6008, 2.9548)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230131 #0F3101
analogous
#0B0131 #230131 #310127
triadic
#230131 #312301 #013123
tetradic
#230131 #310B01 #0F3101 #012731
square
#230131 #310B01 #0F3101 #012731
split-complementary
#230131 #273101 #01310B
monochromatic
#15011E #15011E #230131 #4E026D #7903A9

Accessibility & contrast

On white

18.75
#230131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230131
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230131#FFFFFF#000000##FFFFFF
##2301311.0018.751.1218.75
#FFFFFF18.751.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #230131;
/* rgb */ color: rgb(35, 1, 49);
/* oklch */ color: oklch(19.4% 0.093 313.8);
Tailwind
colors: {
  custom: {
    50: '#604669',
    500: '#230131',
    950: '#000000',
  },
}
SCSS
$custom: #230131;
$custom-light: #604669;
$custom-dark: #000000;
JSON
{
  "hex": "#230131",
  "rgb": {
    "r": 35,
    "g": 1,
    "b": 49
  },
  "hsl": {
    "h": 282.5,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.19441,
    "c": 0.09319,
    "h": 313.8
  },
  "luminance": 0.00601
}

Semantic roles & 50–950 ramp

primary
#230131
secondary
#337717
accent
#FF2967
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #230131

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

Preview Lab → · Contrast checker → · Palette generator →

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