#28232C#28232C

#28232C is a dark, near-neutral violet. Relative luminance 0.018; OKLCH L 26.6% C 0.018 H 310.1°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#28232C
RGBrgb(40, 35, 44)
HSLhsl(273, 11%, 15%)
HSVhsv(273, 20%, 17%)
CMYKcmyk(9.1%, 20.5%, 0%, 82.7%)
CIE-LABlab(14.60, 4.54, -5.10)
CIE-LCHlch(14.60, 6.83, 311.71°)
OKLaboklab(26.55% 0.0116 -0.0137)
OKLCHoklch(26.55% 0.018 310.1)
XYZxyz(1.9306, 1.8350, 2.6349)
Luminance0.0184 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28232C #272C23
analogous
#23232C #28232C #2C232B
triadic
#28232C #2C2823 #232C28
tetradic
#28232C #2C2323 #272C23 #232B2C
square
#28232C #2C2323 #272C23 #232B2C
split-complementary
#28232C #2B2C23 #232C23
monochromatic
#0F0E11 #0F0E11 #28232C #473E4E #665970

Accessibility & contrast

On white

15.36
#28232C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#28232C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28232C
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28232C#FFFFFF#000000##FFFFFF
##28232C1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22252C
Deuteranopia (green-blind)
#23252C
Tritanopia (blue-blind)
#282426
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #28232c;
/* rgb */ color: rgb(40, 35, 44);
/* oklch */ color: oklch(26.6% 0.018 310.1);
Tailwind
colors: {
  custom: {
    50: '#615d65',
    500: '#28232c',
    950: '#000000',
  },
}
SCSS
$custom: #28232c;
$custom-light: #615d65;
$custom-dark: #000000;
JSON
{
  "hex": "#28232c",
  "rgb": {
    "r": 40,
    "g": 35,
    "b": 44
  },
  "hsl": {
    "h": 273.333,
    "s": 11.392,
    "l": 15.49
  },
  "oklch": {
    "l": 0.2655,
    "c": 0.01795,
    "h": 310.1
  },
  "luminance": 0.01835
}

Semantic roles & 50–950 ramp

primary
#28232C
secondary
#555C4F
accent
#B47390
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#050405
muted
#79797A

Preview Lab

Preview with #28232C

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

Preview Lab → · Contrast checker → · Palette generator →

#28232C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva