#230331#230331

#230331 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.8% C 0.089 H 313.2°. Best body text is #FFFFFF at 18.60:1 contrast (WCAG AA passes).

Color values

HEX#230331
RGBrgb(35, 3, 49)
HSLhsl(282, 88%, 10%)
HSVhsv(282, 94%, 19%)
CMYKcmyk(28.6%, 93.9%, 0%, 80.8%)
CIE-LABlab(5.82, 24.91, -22.53)
CIE-LCHlch(5.82, 33.59, 317.87°)
OKLaboklab(19.79% 0.0609 -0.0649)
OKLCHoklch(19.79% 0.089 313.2)
XYZxyz(1.2800, 0.6442, 2.9621)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230331 #113103
analogous
#0C0331 #230331 #310328
triadic
#230331 #312303 #033123
tetradic
#230331 #310C03 #113103 #032831
square
#230331 #310C03 #113103 #032831
split-complementary
#230331 #283103 #03310C
monochromatic
#15021D #15021D #230331 #4C076B #750AA4

Accessibility & contrast

On white

18.60
#230331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230331
18.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230331#FFFFFF#000000##FFFFFF
##2303311.0018.601.1318.60
#FFFFFF18.601.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001132
Deuteranopia (green-blind)
#001430
Tritanopia (blue-blind)
#210D1A
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #230331;
/* rgb */ color: rgb(35, 3, 49);
/* oklch */ color: oklch(19.8% 0.089 313.2);
Tailwind
colors: {
  custom: {
    50: '#604769',
    500: '#230331',
    950: '#000000',
  },
}
SCSS
$custom: #230331;
$custom-light: #604769;
$custom-dark: #000000;
JSON
{
  "hex": "#230331",
  "rgb": {
    "r": 35,
    "g": 3,
    "b": 49
  },
  "hsl": {
    "h": 281.739,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.19785,
    "c": 0.08906,
    "h": 313.2
  },
  "luminance": 0.00644
}

Semantic roles & 50–950 ramp

primary
#230331
secondary
#36741B
accent
#FF296A
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #230331

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

Preview Lab → · Contrast checker → · Palette generator →

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