#231D2F#231D2F

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

Color values

HEX#231D2F
RGBrgb(35, 29, 47)
HSLhsl(260, 24%, 15%)
HSVhsv(260, 38%, 18%)
CMYKcmyk(25.5%, 38.3%, 0%, 81.6%)
CIE-LABlab(12.23, 7.67, -10.92)
CIE-LCHlch(12.23, 13.34, 305.07°)
OKLaboklab(24.64% 0.0168 -0.0301)
OKLCHoklch(24.64% 0.035 299.2)
XYZxyz(1.6455, 1.4413, 2.8803)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231D2F #292F1D
analogous
#1D202F #231D2F #2C1D2F
triadic
#231D2F #2F231D #1D2F23
tetradic
#231D2F #2F1D20 #292F1D #1D2F2C
square
#231D2F #2F1D20 #292F1D #1D2F2C
split-complementary
#231D2F #2F2C1D #202F1D
monochromatic
#0E0C13 #0E0C13 #231D2F #3F3455 #5B4C7B

Accessibility & contrast

On white

16.30
#231D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231D2F
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231D2F#FFFFFF#000000##FFFFFF
##231D2F1.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192030
Deuteranopia (green-blind)
#1A202F
Tritanopia (blue-blind)
#212023
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #231d2f;
/* rgb */ color: rgb(35, 29, 47);
/* oklch */ color: oklch(24.6% 0.035 299.2);
Tailwind
colors: {
  custom: {
    50: '#5e5867',
    500: '#231d2f',
    950: '#000000',
  },
}
SCSS
$custom: #231d2f;
$custom-light: #5e5867;
$custom-dark: #000000;
JSON
{
  "hex": "#231d2f",
  "rgb": {
    "r": 35,
    "g": 29,
    "b": 47
  },
  "hsl": {
    "h": 260,
    "s": 23.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24635,
    "c": 0.03453,
    "h": 299.2
  },
  "luminance": 0.01441
}

Semantic roles & 50–950 ramp

primary
#231D2F
secondary
#596246
accent
#C068A3
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040306
muted
#79787A

Preview Lab

Preview with #231D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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