#23133B#23133B

#23133B is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.074 H 299.0°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#23133B
RGBrgb(35, 19, 59)
HSLhsl(264, 51%, 15%)
HSVhsv(264, 68%, 23%)
CMYKcmyk(40.7%, 67.8%, 0%, 76.9%)
CIE-LABlab(10.10, 18.66, -22.93)
CIE-LCHlch(10.10, 29.56, 309.13°)
OKLaboklab(23.29% 0.036 -0.0651)
OKLCHoklch(23.29% 0.074 299)
XYZxyz(1.7152, 1.1388, 4.2663)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23133B #2B3B13
analogous
#13173B #23133B #37133B
triadic
#23133B #3B2313 #133B23
tetradic
#23133B #3B1317 #2B3B13 #133B37
square
#23133B #3B1317 #2B3B13 #133B37
split-complementary
#23133B #3B3713 #173B13
monochromatic
#0E0717 #0E0717 #23133B #3E2269 #5A3198

Accessibility & contrast

On white

17.10
#23133B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#23133B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23133B
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23133B#FFFFFF#000000##FFFFFF
##23133B1.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011C3C
Deuteranopia (green-blind)
#061B3A
Tritanopia (blue-blind)
#1E1B24
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #23133b;
/* rgb */ color: rgb(35, 19, 59);
/* oklch */ color: oklch(23.3% 0.074 299.0);
Tailwind
colors: {
  custom: {
    50: '#605171',
    500: '#23133b',
    950: '#000000',
  },
}
SCSS
$custom: #23133b;
$custom-light: #605171;
$custom-dark: #000000;
JSON
{
  "hex": "#23133b",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 59
  },
  "hsl": {
    "h": 264,
    "s": 51.282,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2329,
    "c": 0.07436,
    "h": 299
  },
  "luminance": 0.01139
}

Semantic roles & 50–950 ramp

primary
#23133B
secondary
#5B7336
accent
#DB4DA2
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050207
muted
#79787A

Preview Lab

Preview with #23133B

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

Preview Lab → · Contrast checker → · Palette generator →

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