#231E27#231E27

#231E27 is a very dark, near-neutral violet. Relative luminance 0.014; OKLCH L 24.5% C 0.018 H 310.0°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#231E27
RGBrgb(35, 30, 39)
HSLhsl(273, 13%, 14%)
HSVhsv(273, 23%, 15%)
CMYKcmyk(10.3%, 23.1%, 0%, 84.7%)
CIE-LABlab(12.17, 4.64, -5.19)
CIE-LCHlch(12.17, 6.96, 311.79°)
OKLaboklab(24.46% 0.0118 -0.014)
OKLCHoklch(24.46% 0.018 310)
XYZxyz(1.5236, 1.4324, 2.1153)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E27 #22271E
analogous
#1E1E27 #231E27 #271E26
triadic
#231E27 #27231E #1E2723
tetradic
#231E27 #271E1E #22271E #1E2627
square
#231E27 #271E1E #22271E #1E2627
split-complementary
#231E27 #26271E #1E271E
monochromatic
#100D11 #100D11 #231E27 #42394A #61536C

Accessibility & contrast

On white

16.32
#231E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231E27
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E27#FFFFFF#000000##FFFFFF
##231E271.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2027
Deuteranopia (green-blind)
#1E2027
Tritanopia (blue-blind)
#231F21
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #231e27;
/* rgb */ color: rgb(35, 30, 39);
/* oklch */ color: oklch(24.5% 0.018 310.0);
Tailwind
colors: {
  custom: {
    50: '#5d5961',
    500: '#231e27',
    950: '#000000',
  },
}
SCSS
$custom: #231e27;
$custom-light: #5d5961;
$custom-dark: #000000;
JSON
{
  "hex": "#231e27",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 39
  },
  "hsl": {
    "h": 273.333,
    "s": 13.043,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24463,
    "c": 0.01831,
    "h": 310
  },
  "luminance": 0.01432
}

Semantic roles & 50–950 ramp

primary
#231E27
secondary
#505849
accent
#B67290
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040305
muted
#797879

Preview Lab

Preview with #231E27

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

Preview Lab → · Contrast checker → · Palette generator →

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