#23133C#23133C

#23133C is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.076 H 298.3°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#23133C
RGBrgb(35, 19, 60)
HSLhsl(263, 52%, 15%)
HSVhsv(263, 68%, 24%)
CMYKcmyk(41.7%, 68.3%, 0%, 76.5%)
CIE-LABlab(10.18, 18.98, -23.52)
CIE-LCHlch(10.18, 30.22, 308.90°)
OKLaboklab(23.37% 0.036 -0.0668)
OKLCHoklch(23.37% 0.076 298.3)
XYZxyz(1.7414, 1.1493, 4.4042)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23133C #2C3C13
analogous
#13173C #23133C #37133C
triadic
#23133C #3C2313 #133C23
tetradic
#23133C #3C1317 #2C3C13 #133C37
square
#23133C #3C1317 #2C3C13 #133C37
split-complementary
#23133C #3C3713 #173C13
monochromatic
#0E0717 #0E0717 #23133C #3E226A #593099

Accessibility & contrast

On white

17.08
#23133C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23133C
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23133C#FFFFFF#000000##FFFFFF
##23133C1.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011C3D
Deuteranopia (green-blind)
#051B3B
Tritanopia (blue-blind)
#1D1C25
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #23133c;
/* rgb */ color: rgb(35, 19, 60);
/* oklch */ color: oklch(23.4% 0.076 298.3);
Tailwind
colors: {
  custom: {
    50: '#605172',
    500: '#23133c',
    950: '#000000',
  },
}
SCSS
$custom: #23133c;
$custom-light: #605172;
$custom-dark: #000000;
JSON
{
  "hex": "#23133c",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 60
  },
  "hsl": {
    "h": 263.415,
    "s": 51.899,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23374,
    "c": 0.07586,
    "h": 298.3
  },
  "luminance": 0.01149
}

Semantic roles & 50–950 ramp

primary
#23133C
secondary
#5C7436
accent
#DB4CA4
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050208
muted
#79787B

Preview Lab

Preview with #23133C

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

Preview Lab → · Contrast checker → · Palette generator →

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