#252136#252136

#252136 is a dark, muted violet. Relative luminance 0.017; OKLCH L 26.2% C 0.039 H 292.2°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#252136
RGBrgb(37, 33, 54)
HSLhsl(251, 24%, 17%)
HSVhsv(251, 39%, 21%)
CMYKcmyk(31.5%, 38.9%, 0%, 78.8%)
CIE-LABlab(14.10, 7.66, -13.01)
CIE-LCHlch(14.10, 15.10, 300.47°)
OKLaboklab(26.25% 0.0148 -0.0361)
OKLCHoklch(26.25% 0.039 292.2)
XYZxyz(1.9725, 1.7473, 3.7227)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252136 #323621
analogous
#212836 #252136 #302136
triadic
#252136 #362521 #213625
tetradic
#252136 #362128 #323621 #213630
square
#252136 #362128 #323621 #213630
split-complementary
#252136 #363021 #283621
monochromatic
#0D0C13 #0D0C13 #252136 #3F385C #594F82

Accessibility & contrast

On white

15.56
#252136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#252136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252136
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252136#FFFFFF#000000##FFFFFF
##2521361.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2437
Deuteranopia (green-blind)
#1C2335
Tritanopia (blue-blind)
#212529
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #252136;
/* rgb */ color: rgb(37, 33, 54);
/* oklch */ color: oklch(26.2% 0.039 292.2);
Tailwind
colors: {
  custom: {
    50: '#605c6d',
    500: '#252136',
    950: '#000000',
  },
}
SCSS
$custom: #252136;
$custom-light: #605c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#252136",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 54
  },
  "hsl": {
    "h": 251.429,
    "s": 24.138,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26246,
    "c": 0.03902,
    "h": 292.2
  },
  "luminance": 0.01747
}

Semantic roles & 50–950 ramp

primary
#252136
secondary
#63694A
accent
#C167B0
background
#F5F5F6
surface
#E9E9EB
border
#C5C5C6
text
#050407
muted
#79797A

Preview Lab

Preview with #252136

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

Preview Lab → · Contrast checker → · Palette generator →

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