#231D2E#231D2E

#231D2E is a very dark, muted violet. Relative luminance 0.014; OKLCH L 24.6% C 0.033 H 300.2°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#231D2E
RGBrgb(35, 29, 46)
HSLhsl(261, 23%, 15%)
HSVhsv(261, 37%, 18%)
CMYKcmyk(23.9%, 37%, 0%, 82%)
CIE-LABlab(12.18, 7.37, -10.28)
CIE-LCHlch(12.18, 12.64, 305.63°)
OKLaboklab(24.58% 0.0165 -0.0283)
OKLCHoklch(24.58% 0.033 300.2)
XYZxyz(1.6255, 1.4333, 2.7753)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D2E #282E1D
analogous
#1D202E #231D2E #2C1D2E
triadic
#231D2E #2E231D #1D2E23
tetradic
#231D2E #2E1D20 #282E1D #1D2E2C
square
#231D2E #2E1D20 #282E1D #1D2E2C
split-complementary
#231D2E #2E2C1D #202E1D
monochromatic
#0E0C13 #0E0C13 #231D2E #403554 #5C4C79

Accessibility & contrast

On white

16.32
#231D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231D2E
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D2E#FFFFFF#000000##FFFFFF
##231D2E1.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19202F
Deuteranopia (green-blind)
#1A202E
Tritanopia (blue-blind)
#212023
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #231d2e;
/* rgb */ color: rgb(35, 29, 46);
/* oklch */ color: oklch(24.6% 0.033 300.2);
Tailwind
colors: {
  custom: {
    50: '#5e5866',
    500: '#231d2e',
    950: '#000000',
  },
}
SCSS
$custom: #231d2e;
$custom-light: #5e5866;
$custom-dark: #000000;
JSON
{
  "hex": "#231d2e",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 46
  },
  "hsl": {
    "h": 261.176,
    "s": 22.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24578,
    "c": 0.03276,
    "h": 300.2
  },
  "luminance": 0.01433
}

Semantic roles & 50–950 ramp

primary
#231D2E
secondary
#576146
accent
#BF69A1
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040306
muted
#79787A

Preview Lab

Preview with #231D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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