#231C2E#231C2E

#231C2E is a very dark, muted violet. Relative luminance 0.014; OKLCH L 24.3% C 0.035 H 301.7°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#231C2E
RGBrgb(35, 28, 46)
HSLhsl(263, 24%, 15%)
HSVhsv(263, 39%, 18%)
CMYKcmyk(23.9%, 39.1%, 0%, 82%)
CIE-LABlab(11.86, 8.10, -10.77)
CIE-LCHlch(11.86, 13.48, 306.96°)
OKLaboklab(24.33% 0.0184 -0.0297)
OKLCHoklch(24.33% 0.035 301.7)
XYZxyz(1.6014, 1.3851, 2.7672)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231C2E #272E1C
analogous
#1C1E2E #231C2E #2C1C2E
triadic
#231C2E #2E231C #1C2E23
tetradic
#231C2E #2E1C1E #272E1C #1C2E2C
square
#231C2E #2E1C1E #272E1C #1C2E2C
split-complementary
#231C2E #2E2C1C #1E2E1C
monochromatic
#0E0C13 #0E0C13 #231C2E #403354 #5D4A7A

Accessibility & contrast

On white

16.44
#231C2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#231C2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231C2E
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231C2E#FFFFFF#000000##FFFFFF
##231C2E1.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181F2F
Deuteranopia (green-blind)
#191F2D
Tritanopia (blue-blind)
#211F23
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #231c2e;
/* rgb */ color: rgb(35, 28, 46);
/* oklch */ color: oklch(24.3% 0.035 301.7);
Tailwind
colors: {
  custom: {
    50: '#5e5866',
    500: '#231c2e',
    950: '#000000',
  },
}
SCSS
$custom: #231c2e;
$custom-light: #5e5866;
$custom-dark: #000000;
JSON
{
  "hex": "#231c2e",
  "rgb": {
    "r": 35,
    "g": 28,
    "b": 46
  },
  "hsl": {
    "h": 263.333,
    "s": 24.324,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24333,
    "c": 0.03494,
    "h": 301.7
  },
  "luminance": 0.01385
}

Semantic roles & 50–950 ramp

primary
#231C2E
secondary
#566145
accent
#C1679E
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#040306
muted
#79787A

Preview Lab

Preview with #231C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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