#23113A#23113A

#23113A is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 22.8% C 0.076 H 300.7°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#23113A
RGBrgb(35, 17, 58)
HSLhsl(266, 55%, 15%)
HSVhsv(266, 71%, 23%)
CMYKcmyk(39.7%, 70.7%, 0%, 77.3%)
CIE-LABlab(9.51, 19.69, -23.16)
CIE-LCHlch(9.51, 30.40, 310.37°)
OKLaboklab(22.84% 0.039 -0.0657)
OKLCHoklch(22.84% 0.076 300.7)
XYZxyz(1.6571, 1.0637, 4.1202)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23113A #283A11
analogous
#11143A #23113A #38113A
triadic
#23113A #3A2311 #113A23
tetradic
#23113A #3A1114 #283A11 #113A38
square
#23113A #3A1114 #283A11 #113A38
split-complementary
#23113A #3A3811 #143A11
monochromatic
#0E0718 #0E0718 #23113A #401F69 #5C2D99

Accessibility & contrast

On white

17.32
#23113A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#23113A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23113A
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23113A#FFFFFF#000000##FFFFFF
##23113A1.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#041A39
Tritanopia (blue-blind)
#1E1A23
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #23113a;
/* rgb */ color: rgb(35, 17, 58);
/* oklch */ color: oklch(22.8% 0.076 300.7);
Tailwind
colors: {
  custom: {
    50: '#605070',
    500: '#23113a',
    950: '#000000',
  },
}
SCSS
$custom: #23113a;
$custom-light: #605070;
$custom-dark: #000000;
JSON
{
  "hex": "#23113a",
  "rgb": {
    "r": 35,
    "g": 17,
    "b": 58
  },
  "hsl": {
    "h": 266.341,
    "s": 54.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22836,
    "c": 0.07644,
    "h": 300.7
  },
  "luminance": 0.01064
}

Semantic roles & 50–950 ramp

primary
#23113A
secondary
#577333
accent
#DE4A9D
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050207
muted
#79787A

Preview Lab

Preview with #23113A

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

Preview Lab → · Contrast checker → · Palette generator →

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