#25152F#25152F

#25152F is a very dark, muted violet. Relative luminance 0.011; OKLCH L 23.1% C 0.053 H 311.2°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#25152F
RGBrgb(37, 21, 47)
HSLhsl(277, 38%, 13%)
HSVhsv(277, 55%, 18%)
CMYKcmyk(21.3%, 55.3%, 0%, 81.6%)
CIE-LABlab(10.07, 14.27, -14.27)
CIE-LCHlch(10.07, 20.18, 314.99°)
OKLaboklab(23.06% 0.0348 -0.0397)
OKLCHoklch(23.06% 0.053 311.2)
XYZxyz(1.5441, 1.1349, 2.8265)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25152F #1F2F15
analogous
#18152F #25152F #2F152C
triadic
#25152F #2F2515 #152F25
tetradic
#25152F #2F1815 #1F2F15 #152C2F
square
#25152F #2F1815 #1F2F15 #152C2F
split-complementary
#25152F #2C2F15 #152F18
monochromatic
#110915 #110915 #25152F #462859 #683B84

Accessibility & contrast

On white

17.11
#25152F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#25152F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25152F
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25152F#FFFFFF#000000##FFFFFF
##25152F1.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1B30
Deuteranopia (green-blind)
#141C2E
Tritanopia (blue-blind)
#24191F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #25152f;
/* rgb */ color: rgb(37, 21, 47);
/* oklch */ color: oklch(23.1% 0.053 311.2);
Tailwind
colors: {
  custom: {
    50: '#605267',
    500: '#25152f',
    950: '#000000',
  },
}
SCSS
$custom: #25152f;
$custom-light: #605267;
$custom-dark: #000000;
JSON
{
  "hex": "#25152f",
  "rgb": {
    "r": 37,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 276.923,
    "s": 38.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23057,
    "c": 0.05279,
    "h": 311.2
  },
  "luminance": 0.01135
}

Semantic roles & 50–950 ramp

primary
#25152F
secondary
#4B653B
accent
#CE5A86
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050206
muted
#79787A

Preview Lab

Preview with #25152F

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

Preview Lab → · Contrast checker → · Palette generator →

#25152F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva