#23112F#23112F

#23112F is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.0% C 0.060 H 310.0°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#23112F
RGBrgb(35, 17, 47)
HSLhsl(276, 47%, 13%)
HSVhsv(276, 64%, 18%)
CMYKcmyk(25.5%, 63.8%, 0%, 81.6%)
CIE-LABlab(8.68, 16.36, -16.48)
CIE-LCHlch(8.68, 23.22, 314.80°)
OKLaboklab(21.96% 0.0388 -0.0461)
OKLCHoklch(21.96% 0.06 310)
XYZxyz(1.4066, 0.9635, 2.8006)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23112F #1D2F11
analogous
#14112F #23112F #2F112C
triadic
#23112F #2F2311 #112F23
tetradic
#23112F #2F1411 #1D2F11 #112C2F
square
#23112F #2F1411 #1D2F11 #112C2F
split-complementary
#23112F #2C2F11 #112F14
monochromatic
#110816 #110816 #23112F #44215C #663289

Accessibility & contrast

On white

17.61
#23112F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23112F
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23112F#FFFFFF#000000##FFFFFF
##23112F1.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091830
Deuteranopia (green-blind)
#0E192E
Tritanopia (blue-blind)
#21161D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #23112f;
/* rgb */ color: rgb(35, 17, 47);
/* oklch */ color: oklch(22.0% 0.060 310.0);
Tailwind
colors: {
  custom: {
    50: '#5f4f67',
    500: '#23112f',
    950: '#000000',
  },
}
SCSS
$custom: #23112f;
$custom-light: #5f4f67;
$custom-dark: #000000;
JSON
{
  "hex": "#23112f",
  "rgb": {
    "r": 35,
    "g": 17,
    "b": 47
  },
  "hsl": {
    "h": 276,
    "s": 46.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21963,
    "c": 0.06027,
    "h": 310
  },
  "luminance": 0.00963
}

Semantic roles & 50–950 ramp

primary
#23112F
secondary
#496734
accent
#D75187
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #23112F

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

Preview Lab → · Contrast checker → · Palette generator →

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