#23113D#23113D

#23113D is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.1% C 0.081 H 298.7°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#23113D
RGBrgb(35, 17, 61)
HSLhsl(265, 56%, 15%)
HSVhsv(265, 72%, 24%)
CMYKcmyk(42.6%, 72.1%, 0%, 76.1%)
CIE-LABlab(9.76, 20.63, -24.91)
CIE-LCHlch(9.76, 32.35, 309.64°)
OKLaboklab(23.1% 0.0388 -0.0709)
OKLCHoklch(23.1% 0.081 298.7)
XYZxyz(1.7357, 1.0951, 4.5339)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23113D #2B3D11
analogous
#11153D #23113D #39113D
triadic
#23113D #3D2311 #113D23
tetradic
#23113D #3D1115 #2B3D11 #113D39
square
#23113D #3D1115 #2B3D11 #113D39
split-complementary
#23113D #3D3911 #153D11
monochromatic
#0E0718 #0E0718 #23113D #3E1E6D #5A2C9D

Accessibility & contrast

On white

17.23
#23113D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#23113D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23113D
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23113D#FFFFFF#000000##FFFFFF
##23113D1.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3E
Deuteranopia (green-blind)
#011B3C
Tritanopia (blue-blind)
#1D1B25
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #23113d;
/* rgb */ color: rgb(35, 17, 61);
/* oklch */ color: oklch(23.1% 0.081 298.7);
Tailwind
colors: {
  custom: {
    50: '#605073',
    500: '#23113d',
    950: '#000000',
  },
}
SCSS
$custom: #23113d;
$custom-light: #605073;
$custom-dark: #000000;
JSON
{
  "hex": "#23113d",
  "rgb": {
    "r": 35,
    "g": 17,
    "b": 61
  },
  "hsl": {
    "h": 264.545,
    "s": 56.41,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23096,
    "c": 0.0808,
    "h": 298.7
  },
  "luminance": 0.01095
}

Semantic roles & 50–950 ramp

primary
#23113D
secondary
#5B7633
accent
#E048A2
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #23113D

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

Preview Lab → · Contrast checker → · Palette generator →

#23113D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva