#23113C#23113C

#23113C is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.0% C 0.079 H 299.4°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#23113C
RGBrgb(35, 17, 60)
HSLhsl(265, 56%, 15%)
HSVhsv(265, 72%, 24%)
CMYKcmyk(41.7%, 71.7%, 0%, 76.5%)
CIE-LABlab(9.68, 20.32, -24.33)
CIE-LCHlch(9.68, 31.70, 309.87°)
OKLaboklab(23.01% 0.0389 -0.0691)
OKLCHoklch(23.01% 0.079 299.4)
XYZxyz(1.7090, 1.0844, 4.3934)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23113C #2A3C11
analogous
#11153C #23113C #38113C
triadic
#23113C #3C2311 #113C23
tetradic
#23113C #3C1115 #2A3C11 #113C38
square
#23113C #3C1115 #2A3C11 #113C38
split-complementary
#23113C #3C3811 #153C11
monochromatic
#0E0718 #0E0718 #23113C #3F1F6C #5B2C9B

Accessibility & contrast

On white

17.26
#23113C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23113C
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23113C#FFFFFF#000000##FFFFFF
##23113C1.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3D
Deuteranopia (green-blind)
#021A3B
Tritanopia (blue-blind)
#1D1A24
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #23113c;
/* rgb */ color: rgb(35, 17, 60);
/* oklch */ color: oklch(23.0% 0.079 299.4);
Tailwind
colors: {
  custom: {
    50: '#605072',
    500: '#23113c',
    950: '#000000',
  },
}
SCSS
$custom: #23113c;
$custom-light: #605072;
$custom-dark: #000000;
JSON
{
  "hex": "#23113c",
  "rgb": {
    "r": 35,
    "g": 17,
    "b": 60
  },
  "hsl": {
    "h": 265.116,
    "s": 55.844,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23009,
    "c": 0.07934,
    "h": 299.4
  },
  "luminance": 0.01084
}

Semantic roles & 50–950 ramp

primary
#23113C
secondary
#5A7533
accent
#DF49A0
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050208
muted
#79787B

Preview Lab

Preview with #23113C

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

Preview Lab → · Contrast checker → · Palette generator →

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