#25142E#25142E

#25142E is a very dark, muted violet. Relative luminance 0.011; OKLCH L 22.8% C 0.053 H 313.0°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#25142E
RGBrgb(37, 20, 46)
HSLhsl(279, 39%, 13%)
HSVhsv(279, 57%, 18%)
CMYKcmyk(19.6%, 56.5%, 0%, 82%)
CIE-LABlab(9.73, 14.70, -14.08)
CIE-LCHlch(9.73, 20.35, 316.24°)
OKLaboklab(22.78% 0.0364 -0.0391)
OKLCHoklch(22.78% 0.053 313)
XYZxyz(1.5062, 1.0909, 2.7155)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25142E #1D2E14
analogous
#18142E #25142E #2E142A
triadic
#25142E #2E2514 #142E25
tetradic
#25142E #2E1814 #1D2E14 #142A2E
square
#25142E #2E1814 #1D2E14 #142A2E
split-complementary
#25142E #2A2E14 #142E18
monochromatic
#110915 #110915 #25142E #472759 #6A3983

Accessibility & contrast

On white

17.24
#25142E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#25142E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25142E
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25142E#FFFFFF#000000##FFFFFF
##25142E1.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1A2F
Deuteranopia (green-blind)
#131B2D
Tritanopia (blue-blind)
#24181E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #25142e;
/* rgb */ color: rgb(37, 20, 46);
/* oklch */ color: oklch(22.8% 0.053 313.0);
Tailwind
colors: {
  custom: {
    50: '#605267',
    500: '#25142e',
    950: '#000000',
  },
}
SCSS
$custom: #25142e;
$custom-light: #605267;
$custom-dark: #000000;
JSON
{
  "hex": "#25142e",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 46
  },
  "hsl": {
    "h": 279.231,
    "s": 39.394,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22782,
    "c": 0.05346,
    "h": 313
  },
  "luminance": 0.01091
}

Semantic roles & 50–950 ramp

primary
#25142E
secondary
#486539
accent
#CF5982
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050206
muted
#79787A

Preview Lab

Preview with #25142E

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

Preview Lab → · Contrast checker → · Palette generator →

#25142E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva