#23112E#23112E

#23112E is a very dark, muted violet. Relative luminance 0.010; OKLCH L 21.9% C 0.059 H 311.1°. Best body text is #FFFFFF at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#23112E
RGBrgb(35, 17, 46)
HSLhsl(277, 46%, 12%)
HSVhsv(277, 63%, 18%)
CMYKcmyk(23.9%, 63%, 0%, 82%)
CIE-LABlab(8.62, 16.07, -15.85)
CIE-LCHlch(8.62, 22.57, 315.40°)
OKLaboklab(21.89% 0.0387 -0.0443)
OKLCHoklch(21.89% 0.059 311.1)
XYZxyz(1.3866, 0.9555, 2.6956)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23112E #1C2E11
analogous
#14112E #23112E #2E112B
triadic
#23112E #2E2311 #112E23
tetradic
#23112E #2E1411 #1C2E11 #112B2E
square
#23112E #2E1411 #1C2E11 #112B2E
split-complementary
#23112E #2B2E11 #112E14
monochromatic
#110816 #110816 #23112E #45225B #673287

Accessibility & contrast

On white

17.63
#23112E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#23112E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23112E
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23112E#FFFFFF#000000##FFFFFF
##23112E1.0017.631.1917.63
#FFFFFF17.631.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09182F
Deuteranopia (green-blind)
#0F192D
Tritanopia (blue-blind)
#22161D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #23112e;
/* rgb */ color: rgb(35, 17, 46);
/* oklch */ color: oklch(21.9% 0.059 311.1);
Tailwind
colors: {
  custom: {
    50: '#5f4f67',
    500: '#23112e',
    950: '#000000',
  },
}
SCSS
$custom: #23112e;
$custom-light: #5f4f67;
$custom-dark: #000000;
JSON
{
  "hex": "#23112e",
  "rgb": {
    "r": 35,
    "g": 17,
    "b": 46
  },
  "hsl": {
    "h": 277.241,
    "s": 46.032,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21891,
    "c": 0.0588,
    "h": 311.1
  },
  "luminance": 0.00955
}

Semantic roles & 50–950 ramp

primary
#23112E
secondary
#476634
accent
#D65284
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #23112E

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

Preview Lab → · Contrast checker → · Palette generator →

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