#231E2D#231E2D

#231E2D is a very dark, muted violet. Relative luminance 0.015; OKLCH L 24.8% C 0.029 H 299.6°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#231E2D
RGBrgb(35, 30, 45)
HSLhsl(260, 20%, 15%)
HSVhsv(260, 33%, 18%)
CMYKcmyk(22.2%, 33.3%, 0%, 82.4%)
CIE-LABlab(12.45, 6.34, -9.13)
CIE-LCHlch(12.45, 11.12, 304.75°)
OKLaboklab(24.77% 0.0142 -0.0251)
OKLCHoklch(24.77% 0.029 299.6)
XYZxyz(1.6310, 1.4753, 2.6810)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E2D #282D1E
analogous
#1E212D #231E2D #2B1E2D
triadic
#231E2D #2D231E #1E2D23
tetradic
#231E2D #2D1E21 #282D1E #1E2D2B
square
#231E2D #2D1E21 #282D1E #1E2D2B
split-complementary
#231E2D #2D2B1E #212D1E
monochromatic
#0E0C12 #0E0C12 #231E2D #403652 #5C4F76

Accessibility & contrast

On white

16.22
#231E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#231E2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231E2D
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E2D#FFFFFF#000000##FFFFFF
##231E2D1.0016.221.3016.22
#FFFFFF16.221.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #231e2d;
/* rgb */ color: rgb(35, 30, 45);
/* oklch */ color: oklch(24.8% 0.029 299.6);
Tailwind
colors: {
  custom: {
    50: '#5e5966',
    500: '#231e2d',
    950: '#000000',
  },
}
SCSS
$custom: #231e2d;
$custom-light: #5e5966;
$custom-dark: #000000;
JSON
{
  "hex": "#231e2d",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 45
  },
  "hsl": {
    "h": 260,
    "s": 20,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24771,
    "c": 0.02883,
    "h": 299.6
  },
  "luminance": 0.01475
}

Semantic roles & 50–950 ramp

primary
#231E2D
secondary
#575F48
accent
#BD6BA1
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040305
muted
#79787A

Preview Lab

Preview with #231E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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