#252129#252129

#252129 is a dark, near-neutral violet. Relative luminance 0.016; OKLCH L 25.6% C 0.016 H 307.8°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#252129
RGBrgb(37, 33, 41)
HSLhsl(270, 11%, 15%)
HSVhsv(270, 20%, 16%)
CMYKcmyk(9.8%, 19.5%, 0%, 83.9%)
CIE-LABlab(13.48, 3.88, -4.66)
CIE-LCHlch(13.48, 6.06, 309.79°)
OKLaboklab(25.56% 0.0097 -0.0125)
OKLCHoklch(25.56% 0.016 307.8)
XYZxyz(1.7070, 1.6411, 2.3242)
Luminance0.0164 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252129 #252921
analogous
#212129 #252129 #292129
triadic
#252129 #292521 #212925
tetradic
#252129 #292121 #252921 #212929
square
#252129 #292121 #252921 #212929
split-complementary
#252129 #292921 #212921
monochromatic
#0F0E11 #0F0E11 #252129 #443C4B #62586D

Accessibility & contrast

On white

15.81
#252129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#252129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252129
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252129#FFFFFF#000000##FFFFFF
##2521291.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202229
Deuteranopia (green-blind)
#212329
Tritanopia (blue-blind)
#252224
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #252129;
/* rgb */ color: rgb(37, 33, 41);
/* oklch */ color: oklch(25.6% 0.016 307.8);
Tailwind
colors: {
  custom: {
    50: '#5f5c62',
    500: '#252129',
    950: '#000000',
  },
}
SCSS
$custom: #252129;
$custom-light: #5f5c62;
$custom-dark: #000000;
JSON
{
  "hex": "#252129",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 41
  },
  "hsl": {
    "h": 270,
    "s": 10.811,
    "l": 14.51
  },
  "oklch": {
    "l": 0.2556,
    "c": 0.01587,
    "h": 307.8
  },
  "luminance": 0.01641
}

Semantic roles & 50–950 ramp

primary
#252129
secondary
#53594D
accent
#B47494
background
#F5F5F5
surface
#E9E9EA
border
#C5C5C6
text
#040405
muted
#797979

Preview Lab

Preview with #252129

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

Preview Lab → · Contrast checker → · Palette generator →

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