#232128#232128

#232128 is a dark, near-neutral violet. Relative luminance 0.016; OKLCH L 25.3% C 0.013 H 298.5°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#232128
RGBrgb(35, 33, 40)
HSLhsl(257, 10%, 14%)
HSVhsv(257, 18%, 16%)
CMYKcmyk(12.5%, 17.5%, 0%, 84.3%)
CIE-LABlab(13.22, 2.73, -4.34)
CIE-LCHlch(13.22, 5.13, 302.13°)
OKLaboklab(25.29% 0.0064 -0.0117)
OKLCHoklch(25.29% 0.013 298.5)
XYZxyz(1.6199, 1.5982, 2.2302)
Luminance0.0160 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232128 #262821
analogous
#212328 #232128 #272128
triadic
#232128 #282321 #212823
tetradic
#232128 #282123 #262821 #212827
square
#232128 #282123 #262821 #212827
split-complementary
#232128 #282721 #232821
monochromatic
#0F0E11 #0F0E11 #232128 #403D4A #5E586B

Accessibility & contrast

On white

15.91
#232128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#232128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232128
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232128#FFFFFF#000000##FFFFFF
##2321281.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202228
Deuteranopia (green-blind)
#202228
Tritanopia (blue-blind)
#222223
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #232128;
/* rgb */ color: rgb(35, 33, 40);
/* oklch */ color: oklch(25.3% 0.013 298.5);
Tailwind
colors: {
  custom: {
    50: '#5d5c61',
    500: '#232128',
    950: '#000000',
  },
}
SCSS
$custom: #232128;
$custom-light: #5d5c61;
$custom-dark: #000000;
JSON
{
  "hex": "#232128",
  "rgb": {
    "r": 35,
    "g": 33,
    "b": 40
  },
  "hsl": {
    "h": 257.143,
    "s": 9.589,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25292,
    "c": 0.01333,
    "h": 298.5
  },
  "luminance": 0.01598
}

Semantic roles & 50–950 ramp

primary
#232128
secondary
#55584D
accent
#B375A1
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040405
muted
#797979

Preview Lab

Preview with #232128

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

Preview Lab → · Contrast checker → · Palette generator →

#232128 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva