#23062E#23062E

#23062E is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.0% C 0.080 H 315.1°. Best body text is #FFFFFF at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#23062E
RGBrgb(35, 6, 46)
HSLhsl(284, 77%, 10%)
HSVhsv(284, 87%, 18%)
CMYKcmyk(23.9%, 87%, 0%, 82%)
CIE-LABlab(6.19, 22.43, -19.71)
CIE-LCHlch(6.19, 29.86, 318.69°)
OKLaboklab(20.01% 0.0565 -0.0563)
OKLCHoklch(20.01% 0.08 315.1)
XYZxyz(1.2513, 0.6849, 2.6505)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23062E #112E06
analogous
#0F062E #23062E #2E0625
triadic
#23062E #2E2306 #062E23
tetradic
#23062E #2E0F06 #112E06 #06252E
square
#23062E #2E0F06 #112E06 #06252E
split-complementary
#23062E #252E06 #062E0F
monochromatic
#15041B #15041B #23062E #4C0D64 #75149A

Accessibility & contrast

On white

18.47
#23062E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#23062E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23062E
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23062E#FFFFFF#000000##FFFFFF
##23062E1.0018.471.1418.47
#FFFFFF18.471.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122F
Deuteranopia (green-blind)
#05142D
Tritanopia (blue-blind)
#220E19
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #23062e;
/* rgb */ color: rgb(35, 6, 46);
/* oklch */ color: oklch(20.0% 0.080 315.1);
Tailwind
colors: {
  custom: {
    50: '#5f4967',
    500: '#23062e',
    950: '#000000',
  },
}
SCSS
$custom: #23062e;
$custom-light: #5f4967;
$custom-dark: #000000;
JSON
{
  "hex": "#23062e",
  "rgb": {
    "r": 35,
    "g": 6,
    "b": 46
  },
  "hsl": {
    "h": 283.5,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20014,
    "c": 0.07977,
    "h": 315.1
  },
  "luminance": 0.00685
}

Semantic roles & 50–950 ramp

primary
#23062E
secondary
#366F21
accent
#F33469
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #23062E

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

Preview Lab → · Contrast checker → · Palette generator →

#23062E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva