#231D2D#231D2D

#231D2D is a very dark, muted violet. Relative luminance 0.014; OKLCH L 24.5% C 0.031 H 301.4°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#231D2D
RGBrgb(35, 29, 45)
HSLhsl(263, 22%, 15%)
HSVhsv(263, 36%, 18%)
CMYKcmyk(22.2%, 35.6%, 0%, 82.4%)
CIE-LABlab(12.13, 7.07, -9.63)
CIE-LCHlch(12.13, 11.95, 306.29°)
OKLaboklab(24.52% 0.0161 -0.0265)
OKLCHoklch(24.52% 0.031 301.4)
XYZxyz(1.6061, 1.4255, 2.6727)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D2D #272D1D
analogous
#1D1F2D #231D2D #2B1D2D
triadic
#231D2D #2D231D #1D2D23
tetradic
#231D2D #2D1D1F #272D1D #1D2D2B
square
#231D2D #2D1D1F #272D1D #1D2D2B
split-complementary
#231D2D #2D2B1D #1F2D1D
monochromatic
#0E0C13 #0E0C13 #231D2D #403552 #5D4D77

Accessibility & contrast

On white

16.34
#231D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#231D2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231D2D
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D2D#FFFFFF#000000##FFFFFF
##231D2D1.0016.341.2916.34
#FFFFFF16.341.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A202E
Deuteranopia (green-blind)
#1B202D
Tritanopia (blue-blind)
#211F23
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #231d2d;
/* rgb */ color: rgb(35, 29, 45);
/* oklch */ color: oklch(24.5% 0.031 301.4);
Tailwind
colors: {
  custom: {
    50: '#5e5866',
    500: '#231d2d',
    950: '#000000',
  },
}
SCSS
$custom: #231d2d;
$custom-light: #5e5866;
$custom-dark: #000000;
JSON
{
  "hex": "#231d2d",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 45
  },
  "hsl": {
    "h": 262.5,
    "s": 21.622,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24522,
    "c": 0.031,
    "h": 301.4
  },
  "luminance": 0.01426
}

Semantic roles & 50–950 ramp

primary
#231D2D
secondary
#565F46
accent
#BE6A9E
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040305
muted
#79787A

Preview Lab

Preview with #231D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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