#23113F#23113F

#23113F is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.084 H 297.5°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#23113F
RGBrgb(35, 17, 63)
HSLhsl(263, 58%, 16%)
HSVhsv(263, 73%, 25%)
CMYKcmyk(44.4%, 73%, 0%, 75.3%)
CIE-LABlab(9.93, 21.27, -26.06)
CIE-LCHlch(9.93, 33.63, 309.23°)
OKLaboklab(23.27% 0.0386 -0.0742)
OKLCHoklch(23.27% 0.084 297.5)
XYZxyz(1.7906, 1.1171, 4.8229)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23113F #2D3F11
analogous
#11163F #23113F #3A113F
triadic
#23113F #3F2311 #113F23
tetradic
#23113F #3F1116 #2D3F11 #113F3A
square
#23113F #3F1116 #2D3F11 #113F3A
split-complementary
#23113F #3F3A11 #163F11
monochromatic
#0D0718 #0D0718 #23113F #3E1E6F #592B9F

Accessibility & contrast

On white

17.17
#23113F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23113F
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23113F#FFFFFF#000000##FFFFFF
##23113F1.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#001B3E
Tritanopia (blue-blind)
#1C1B26
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #23113f;
/* rgb */ color: rgb(35, 17, 63);
/* oklch */ color: oklch(23.3% 0.084 297.5);
Tailwind
colors: {
  custom: {
    50: '#615074',
    500: '#23113f',
    950: '#000000',
  },
}
SCSS
$custom: #23113f;
$custom-light: #615074;
$custom-dark: #000000;
JSON
{
  "hex": "#23113f",
  "rgb": {
    "r": 35,
    "g": 17,
    "b": 63
  },
  "hsl": {
    "h": 263.478,
    "s": 57.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23274,
    "c": 0.08368,
    "h": 297.5
  },
  "luminance": 0.01117
}

Semantic roles & 50–950 ramp

primary
#23113F
secondary
#5D7833
accent
#E147A5
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #23113F

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

Preview Lab → · Contrast checker → · Palette generator →

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