#231E2F#231E2F

#231E2F is a very dark, muted violet. Relative luminance 0.015; OKLCH L 24.9% C 0.032 H 297.5°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#231E2F
RGBrgb(35, 30, 47)
HSLhsl(258, 22%, 15%)
HSVhsv(258, 36%, 18%)
CMYKcmyk(25.5%, 36.2%, 0%, 81.6%)
CIE-LABlab(12.55, 6.93, -10.42)
CIE-LCHlch(12.55, 12.52, 303.62°)
OKLaboklab(24.88% 0.015 -0.0287)
OKLCHoklch(24.88% 0.032 297.5)
XYZxyz(1.6704, 1.4911, 2.8886)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E2F #2A2F1E
analogous
#1E212F #231E2F #2B1E2F
triadic
#231E2F #2F231E #1E2F23
tetradic
#231E2F #2F1E21 #2A2F1E #1E2F2B
square
#231E2F #2F1E21 #2A2F1E #1E2F2B
split-complementary
#231E2F #2F2B1E #212F1E
monochromatic
#0E0C13 #0E0C13 #231E2F #3F3654 #5B4E7A

Accessibility & contrast

On white

16.18
#231E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231E2F
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E2F#FFFFFF#000000##FFFFFF
##231E2F1.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2130
Deuteranopia (green-blind)
#1B202F
Tritanopia (blue-blind)
#212124
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #231e2f;
/* rgb */ color: rgb(35, 30, 47);
/* oklch */ color: oklch(24.9% 0.032 297.5);
Tailwind
colors: {
  custom: {
    50: '#5e5967',
    500: '#231e2f',
    950: '#000000',
  },
}
SCSS
$custom: #231e2f;
$custom-light: #5e5967;
$custom-dark: #000000;
JSON
{
  "hex": "#231e2f",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 47
  },
  "hsl": {
    "h": 257.647,
    "s": 22.078,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24882,
    "c": 0.0324,
    "h": 297.5
  },
  "luminance": 0.01491
}

Semantic roles & 50–950 ramp

primary
#231E2F
secondary
#5A6147
accent
#BF69A5
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040306
muted
#79787A

Preview Lab

Preview with #231E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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