#23113B#23113B

#23113B is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 22.9% C 0.078 H 300.0°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#23113B
RGBrgb(35, 17, 59)
HSLhsl(266, 55%, 15%)
HSVhsv(266, 71%, 23%)
CMYKcmyk(40.7%, 71.2%, 0%, 76.9%)
CIE-LABlab(9.59, 20.00, -23.75)
CIE-LCHlch(9.59, 31.05, 310.11°)
OKLaboklab(22.92% 0.039 -0.0674)
OKLCHoklch(22.92% 0.078 300)
XYZxyz(1.6828, 1.0740, 4.2555)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23113B #293B11
analogous
#11143B #23113B #38113B
triadic
#23113B #3B2311 #113B23
tetradic
#23113B #3B1114 #293B11 #113B38
square
#23113B #3B1114 #293B11 #113B38
split-complementary
#23113B #3B3811 #143B11
monochromatic
#0E0718 #0E0718 #23113B #3F1F6B #5B2C9A

Accessibility & contrast

On white

17.29
#23113B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#23113B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23113B
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23113B#FFFFFF#000000##FFFFFF
##23113B1.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3C
Deuteranopia (green-blind)
#031A3A
Tritanopia (blue-blind)
#1E1A24
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #23113b;
/* rgb */ color: rgb(35, 17, 59);
/* oklch */ color: oklch(22.9% 0.078 300.0);
Tailwind
colors: {
  custom: {
    50: '#605071',
    500: '#23113b',
    950: '#000000',
  },
}
SCSS
$custom: #23113b;
$custom-light: #605071;
$custom-dark: #000000;
JSON
{
  "hex": "#23113b",
  "rgb": {
    "r": 35,
    "g": 17,
    "b": 59
  },
  "hsl": {
    "h": 265.714,
    "s": 55.263,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22922,
    "c": 0.07789,
    "h": 300
  },
  "luminance": 0.01074
}

Semantic roles & 50–950 ramp

primary
#23113B
secondary
#597433
accent
#DF499F
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050207
muted
#79787A

Preview Lab

Preview with #23113B

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

Preview Lab → · Contrast checker → · Palette generator →

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