#23133D#23133D

#23133D is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.5% C 0.077 H 297.7°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#23133D
RGBrgb(35, 19, 61)
HSLhsl(263, 53%, 16%)
HSVhsv(263, 69%, 24%)
CMYKcmyk(42.6%, 68.9%, 0%, 76.1%)
CIE-LABlab(10.26, 19.30, -24.10)
CIE-LCHlch(10.26, 30.88, 308.68°)
OKLaboklab(23.46% 0.0359 -0.0685)
OKLCHoklch(23.46% 0.077 297.7)
XYZxyz(1.7681, 1.1600, 4.5447)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23133D #2D3D13
analogous
#13183D #23133D #38133D
triadic
#23133D #3D2313 #133D23
tetradic
#23133D #3D1318 #2D3D13 #133D38
square
#23133D #3D1318 #2D3D13 #133D38
split-complementary
#23133D #3D3813 #183D13
monochromatic
#0D0717 #0D0717 #23133D #3E226C #59309A

Accessibility & contrast

On white

17.05
#23133D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23133D
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23133D#FFFFFF#000000##FFFFFF
##23133D1.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3E
Deuteranopia (green-blind)
#041C3C
Tritanopia (blue-blind)
#1D1C25
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #23133d;
/* rgb */ color: rgb(35, 19, 61);
/* oklch */ color: oklch(23.5% 0.077 297.7);
Tailwind
colors: {
  custom: {
    50: '#605173',
    500: '#23133d',
    950: '#000000',
  },
}
SCSS
$custom: #23133d;
$custom-light: #605173;
$custom-dark: #000000;
JSON
{
  "hex": "#23133d",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 61
  },
  "hsl": {
    "h": 262.857,
    "s": 52.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23459,
    "c": 0.07735,
    "h": 297.7
  },
  "luminance": 0.0116
}

Semantic roles & 50–950 ramp

primary
#23133D
secondary
#5D7536
accent
#DC4CA5
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #23133D

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

Preview Lab → · Contrast checker → · Palette generator →

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