#231B2E#231B2E

#231B2E is a very dark, muted violet. Relative luminance 0.013; OKLCH L 24.1% C 0.037 H 303.1°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#231B2E
RGBrgb(35, 27, 46)
HSLhsl(265, 26%, 14%)
HSVhsv(265, 41%, 18%)
CMYKcmyk(23.9%, 41.3%, 0%, 82%)
CIE-LABlab(11.54, 8.84, -11.26)
CIE-LCHlch(11.54, 14.32, 308.14°)
OKLaboklab(24.09% 0.0203 -0.0311)
OKLCHoklch(24.09% 0.037 303.1)
XYZxyz(1.5781, 1.3384, 2.7594)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231B2E #262E1B
analogous
#1B1D2E #231B2E #2D1B2E
triadic
#231B2E #2E231B #1B2E23
tetradic
#231B2E #2E1B1D #262E1B #1B2E2D
square
#231B2E #2E1B1D #262E1B #1B2E2D
split-complementary
#231B2E #2E2D1B #1D2E1B
monochromatic
#0F0B13 #0F0B13 #231B2E #403255 #5E487B

Accessibility & contrast

On white

16.57
#231B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#231B2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231B2E
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231B2E#FFFFFF#000000##FFFFFF
##231B2E1.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171E2F
Deuteranopia (green-blind)
#181F2D
Tritanopia (blue-blind)
#211E22
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #231b2e;
/* rgb */ color: rgb(35, 27, 46);
/* oklch */ color: oklch(24.1% 0.037 303.1);
Tailwind
colors: {
  custom: {
    50: '#5e5766',
    500: '#231b2e',
    950: '#000000',
  },
}
SCSS
$custom: #231b2e;
$custom-light: #5e5766;
$custom-dark: #000000;
JSON
{
  "hex": "#231b2e",
  "rgb": {
    "r": 35,
    "g": 27,
    "b": 46
  },
  "hsl": {
    "h": 265.263,
    "s": 26.027,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24091,
    "c": 0.03712,
    "h": 303.1
  },
  "luminance": 0.01338
}

Semantic roles & 50–950 ramp

primary
#231B2E
secondary
#556143
accent
#C2659B
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040306
muted
#79787A

Preview Lab

Preview with #231B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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