#231B2D#231B2D

#231B2D is a very dark, muted violet. Relative luminance 0.013; OKLCH L 24.0% C 0.035 H 304.2°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#231B2D
RGBrgb(35, 27, 45)
HSLhsl(267, 25%, 14%)
HSVhsv(267, 40%, 18%)
CMYKcmyk(22.2%, 40%, 0%, 82.4%)
CIE-LABlab(11.49, 8.54, -10.62)
CIE-LCHlch(11.49, 13.63, 308.83°)
OKLaboklab(24.03% 0.0199 -0.0293)
OKLCHoklch(24.03% 0.035 304.2)
XYZxyz(1.5586, 1.3307, 2.6568)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B2D #252D1B
analogous
#1B1C2D #231B2D #2C1B2D
triadic
#231B2D #2D231B #1B2D23
tetradic
#231B2D #2D1B1C #252D1B #1B2D2C
square
#231B2D #2D1B1C #252D1B #1B2D2C
split-complementary
#231B2D #2D2C1B #1C2D1B
monochromatic
#0F0B13 #0F0B13 #231B2D #413253 #5F497A

Accessibility & contrast

On white

16.59
#231B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#231B2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B2D
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B2D#FFFFFF#000000##FFFFFF
##231B2D1.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171E2E
Deuteranopia (green-blind)
#191E2C
Tritanopia (blue-blind)
#211E22
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #231b2d;
/* rgb */ color: rgb(35, 27, 45);
/* oklch */ color: oklch(24.0% 0.035 304.2);
Tailwind
colors: {
  custom: {
    50: '#5e5766',
    500: '#231b2d',
    950: '#000000',
  },
}
SCSS
$custom: #231b2d;
$custom-light: #5e5766;
$custom-dark: #000000;
JSON
{
  "hex": "#231b2d",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 45
  },
  "hsl": {
    "h": 266.667,
    "s": 25,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24033,
    "c": 0.03541,
    "h": 304.2
  },
  "luminance": 0.01331
}

Semantic roles & 50–950 ramp

primary
#231B2D
secondary
#536044
accent
#C16699
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040305
muted
#79787A

Preview Lab

Preview with #231B2D

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

Preview Lab → · Contrast checker → · Palette generator →

#231B2D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva