#251127#251127

#251127 is a very dark, muted purple. Relative luminance 0.009; OKLCH L 21.7% C 0.050 H 323.8°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#251127
RGBrgb(37, 17, 39)
HSLhsl(295, 39%, 11%)
HSVhsv(295, 56%, 15%)
CMYKcmyk(5.1%, 56.4%, 0%, 84.7%)
CIE-LABlab(8.49, 14.92, -10.82)
CIE-LCHlch(8.49, 18.43, 324.06°)
OKLaboklab(21.72% 0.0405 -0.0297)
OKLCHoklch(21.72% 0.05 323.8)
XYZxyz(1.3296, 0.9408, 2.0306)
Luminance0.0094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251127 #132711
analogous
#1A1127 #251127 #27111E
triadic
#251127 #272511 #112725
tetradic
#251127 #271A11 #132711 #111E27
square
#251127 #271A11 #132711 #111E27
split-complementary
#251127 #1E2711 #11271A
monochromatic
#140915 #140915 #251127 #4D2452 #76367C

Accessibility & contrast

On white

17.67
#251127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#251127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251127
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251127#FFFFFF#000000##FFFFFF
##2511271.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1728
Deuteranopia (green-blind)
#141926
Tritanopia (blue-blind)
#26141A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #251127;
/* rgb */ color: rgb(37, 17, 39);
/* oklch */ color: oklch(21.7% 0.050 323.8);
Tailwind
colors: {
  custom: {
    50: '#604f61',
    500: '#251127',
    950: '#000000',
  },
}
SCSS
$custom: #251127;
$custom-light: #604f61;
$custom-dark: #000000;
JSON
{
  "hex": "#251127",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 39
  },
  "hsl": {
    "h": 294.545,
    "s": 39.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21721,
    "c": 0.05025,
    "h": 323.8
  },
  "luminance": 0.00941
}

Semantic roles & 50–950 ramp

primary
#251127
secondary
#395E36
accent
#CF5963
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#050205
muted
#797879

Preview Lab

Preview with #251127

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

Preview Lab → · Contrast checker → · Palette generator →

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