#23113E#23113E

#23113E is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.082 H 298.1°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#23113E
RGBrgb(35, 17, 62)
HSLhsl(264, 57%, 15%)
HSVhsv(264, 73%, 24%)
CMYKcmyk(43.5%, 72.6%, 0%, 75.7%)
CIE-LABlab(9.85, 20.95, -25.48)
CIE-LCHlch(9.85, 32.99, 309.43°)
OKLaboklab(23.19% 0.0387 -0.0725)
OKLCHoklch(23.19% 0.082 298.1)
XYZxyz(1.7629, 1.1060, 4.6771)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23113E #2C3E11
analogous
#11153E #23113E #39113E
triadic
#23113E #3E2311 #113E23
tetradic
#23113E #3E1115 #2C3E11 #113E39
square
#23113E #3E1115 #2C3E11 #113E39
split-complementary
#23113E #3E3911 #153E11
monochromatic
#0E0718 #0E0718 #23113E #3E1E6E #592B9E

Accessibility & contrast

On white

17.20
#23113E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23113E
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23113E#FFFFFF#000000##FFFFFF
##23113E1.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3F
Deuteranopia (green-blind)
#001B3D
Tritanopia (blue-blind)
#1D1B25
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #23113e;
/* rgb */ color: rgb(35, 17, 62);
/* oklch */ color: oklch(23.2% 0.082 298.1);
Tailwind
colors: {
  custom: {
    50: '#615074',
    500: '#23113e',
    950: '#000000',
  },
}
SCSS
$custom: #23113e;
$custom-light: #615074;
$custom-dark: #000000;
JSON
{
  "hex": "#23113e",
  "rgb": {
    "r": 35,
    "g": 17,
    "b": 62
  },
  "hsl": {
    "h": 264,
    "s": 56.962,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23185,
    "c": 0.08224,
    "h": 298.1
  },
  "luminance": 0.01106
}

Semantic roles & 50–950 ramp

primary
#23113E
secondary
#5C7733
accent
#E048A3
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #23113E

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

Preview Lab → · Contrast checker → · Palette generator →

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