#230333#230333

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

Color values

HEX#230333
RGBrgb(35, 3, 51)
HSLhsl(280, 89%, 11%)
HSVhsv(280, 94%, 20%)
CMYKcmyk(31.4%, 94.1%, 0%, 80%)
CIE-LABlab(5.98, 25.56, -23.76)
CIE-LCHlch(5.98, 34.90, 317.08°)
OKLaboklab(19.98% 0.0603 -0.0684)
OKLCHoklch(19.98% 0.091 311.4)
XYZxyz(1.3231, 0.6615, 3.1893)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230333 #133303
analogous
#0B0333 #230333 #33032B
triadic
#230333 #332303 #033323
tetradic
#230333 #330B03 #133303 #032B33
square
#230333 #330B03 #133303 #032B33
split-complementary
#230333 #2B3303 #03330B
monochromatic
#14021D #14021D #230333 #4B066D #720AA7

Accessibility & contrast

On white

18.55
#230333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230333
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230333#FFFFFF#000000##FFFFFF
##2303331.0018.551.1318.55
#FFFFFF18.551.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001234
Deuteranopia (green-blind)
#001432
Tritanopia (blue-blind)
#210E1B
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #230333;
/* rgb */ color: rgb(35, 3, 51);
/* oklch */ color: oklch(20.0% 0.091 311.4);
Tailwind
colors: {
  custom: {
    50: '#60476b',
    500: '#230333',
    950: '#000000',
  },
}
SCSS
$custom: #230333;
$custom-light: #60476b;
$custom-dark: #000000;
JSON
{
  "hex": "#230333",
  "rgb": {
    "r": 35,
    "g": 3,
    "b": 51
  },
  "hsl": {
    "h": 280,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.19978,
    "c": 0.09119,
    "h": 311.4
  },
  "luminance": 0.00661
}

Semantic roles & 50–950 ramp

primary
#230333
secondary
#3A761C
accent
#FF2970
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #230333

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

Preview Lab → · Contrast checker → · Palette generator →

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