#231E2B#231E2B

#231E2B is a very dark, muted violet. Relative luminance 0.015; OKLCH L 24.7% C 0.025 H 302.2°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#231E2B
RGBrgb(35, 30, 43)
HSLhsl(263, 18%, 14%)
HSVhsv(263, 30%, 17%)
CMYKcmyk(18.6%, 30.2%, 0%, 83.1%)
CIE-LABlab(12.35, 5.75, -7.83)
CIE-LCHlch(12.35, 9.72, 306.31°)
OKLaboklab(24.66% 0.0135 -0.0214)
OKLCHoklch(24.66% 0.025 302.2)
XYZxyz(1.5934, 1.4603, 2.4830)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E2B #262B1E
analogous
#1E202B #231E2B #2A1E2B
triadic
#231E2B #2B231E #1E2B23
tetradic
#231E2B #2B1E20 #262B1E #1E2B2A
square
#231E2B #2B1E20 #262B1E #1E2B2A
split-complementary
#231E2B #2B2A1E #202B1E
monochromatic
#0F0D12 #0F0D12 #231E2B #40374F #5E5073

Accessibility & contrast

On white

16.25
#231E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231E2B
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E2B#FFFFFF#000000##FFFFFF
##231E2B1.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B202C
Deuteranopia (green-blind)
#1C202B
Tritanopia (blue-blind)
#222022
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #231e2b;
/* rgb */ color: rgb(35, 30, 43);
/* oklch */ color: oklch(24.7% 0.025 302.2);
Tailwind
colors: {
  custom: {
    50: '#5e5964',
    500: '#231e2b',
    950: '#000000',
  },
}
SCSS
$custom: #231e2b;
$custom-light: #5e5964;
$custom-dark: #000000;
JSON
{
  "hex": "#231e2b",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 43
  },
  "hsl": {
    "h": 263.077,
    "s": 17.808,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24664,
    "c": 0.02527,
    "h": 302.2
  },
  "luminance": 0.0146
}

Semantic roles & 50–950 ramp

primary
#231E2B
secondary
#555D48
accent
#BA6D9D
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#040305
muted
#797879

Preview Lab

Preview with #231E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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