#231E28#231E28

#231E28 is a very dark, muted violet. Relative luminance 0.014; OKLCH L 24.5% C 0.020 H 307.6°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#231E28
RGBrgb(35, 30, 40)
HSLhsl(270, 14%, 14%)
HSVhsv(270, 25%, 16%)
CMYKcmyk(12.5%, 25%, 0%, 84.3%)
CIE-LABlab(12.22, 4.91, -5.86)
CIE-LCHlch(12.22, 7.64, 309.98°)
OKLaboklab(24.51% 0.0122 -0.0159)
OKLCHoklch(24.51% 0.02 307.6)
XYZxyz(1.5403, 1.4391, 2.2037)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231E28 #23281E
analogous
#1E1E28 #231E28 #281E28
triadic
#231E28 #28231E #1E2823
tetradic
#231E28 #281E1E #23281E #1E2828
square
#231E28 #281E1E #23281E #1E2828
split-complementary
#231E28 #28281E #1E281E
monochromatic
#0F0D11 #0F0D11 #231E28 #42384B #60526E

Accessibility & contrast

On white

16.31
#231E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231E28
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231E28#FFFFFF#000000##FFFFFF
##231E281.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2028
Deuteranopia (green-blind)
#1D2028
Tritanopia (blue-blind)
#221F21
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #231e28;
/* rgb */ color: rgb(35, 30, 40);
/* oklch */ color: oklch(24.5% 0.020 307.6);
Tailwind
colors: {
  custom: {
    50: '#5d5961',
    500: '#231e28',
    950: '#000000',
  },
}
SCSS
$custom: #231e28;
$custom-light: #5d5961;
$custom-dark: #000000;
JSON
{
  "hex": "#231e28",
  "rgb": {
    "r": 35,
    "g": 30,
    "b": 40
  },
  "hsl": {
    "h": 270,
    "s": 14.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24512,
    "c": 0.02002,
    "h": 307.6
  },
  "luminance": 0.01439
}

Semantic roles & 50–950 ramp

primary
#231E28
secondary
#515949
accent
#B77194
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040305
muted
#797879

Preview Lab

Preview with #231E28

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

Preview Lab → · Contrast checker → · Palette generator →

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