#230232#230232

#230232 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.7% C 0.092 H 312.6°. Best body text is #FFFFFF at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#230232
RGBrgb(35, 2, 50)
HSLhsl(281, 92%, 10%)
HSVhsv(281, 96%, 20%)
CMYKcmyk(30%, 96%, 0%, 80.4%)
CIE-LABlab(5.70, 25.75, -23.46)
CIE-LCHlch(5.70, 34.83, 317.66°)
OKLaboklab(19.71% 0.0623 -0.0678)
OKLCHoklch(19.71% 0.092 312.6)
XYZxyz(1.2905, 0.6311, 3.0708)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230232 #113202
analogous
#0B0232 #230232 #320229
triadic
#230232 #322302 #023223
tetradic
#230232 #320B02 #113202 #022932
square
#230232 #320B02 #113202 #022932
split-complementary
#230232 #293202 #02320B
monochromatic
#15011D #15011D #230232 #4C046D #7507A8

Accessibility & contrast

On white

18.65
#230232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230232
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230232#FFFFFF#000000##FFFFFF
##2302321.0018.651.1318.65
#FFFFFF18.651.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #230232;
/* rgb */ color: rgb(35, 2, 50);
/* oklch */ color: oklch(19.7% 0.092 312.6);
Tailwind
colors: {
  custom: {
    50: '#60476a',
    500: '#230232',
    950: '#000000',
  },
}
SCSS
$custom: #230232;
$custom-light: #60476a;
$custom-dark: #000000;
JSON
{
  "hex": "#230232",
  "rgb": {
    "r": 35,
    "g": 2,
    "b": 50
  },
  "hsl": {
    "h": 281.25,
    "s": 92.308,
    "l": 10.196
  },
  "oklch": {
    "l": 0.19712,
    "c": 0.09212,
    "h": 312.6
  },
  "luminance": 0.00631
}

Semantic roles & 50–950 ramp

primary
#230232
secondary
#367619
accent
#FF296C
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #230232

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

Preview Lab → · Contrast checker → · Palette generator →

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