#251048#251048

#251048 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.098 H 295.2°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#251048
RGBrgb(37, 16, 72)
HSLhsl(263, 64%, 17%)
HSVhsv(263, 78%, 28%)
CMYKcmyk(48.6%, 77.8%, 0%, 71.8%)
CIE-LABlab(10.79, 25.22, -30.99)
CIE-LCHlch(10.79, 39.95, 309.15°)
OKLaboklab(24.21% 0.0418 -0.0886)
OKLCHoklch(24.21% 0.098 295.2)
XYZxyz(2.1176, 1.2317, 6.2558)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251048 #334810
analogous
#101748 #251048 #411048
triadic
#251048 #482510 #104825
tetradic
#251048 #481017 #334810 #104841
square
#251048 #481017 #334810 #104841
split-complementary
#251048 #484110 #174810
monochromatic
#0D0619 #0D0619 #251048 #3F1B7A #5826AC

Accessibility & contrast

On white

16.85
#251048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#251048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251048
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251048#FFFFFF#000000##FFFFFF
##2510481.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4A
Deuteranopia (green-blind)
#001C47
Tritanopia (blue-blind)
#1B1E2A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #251048;
/* rgb */ color: rgb(37, 16, 72);
/* oklch */ color: oklch(24.2% 0.098 295.2);
Tailwind
colors: {
  custom: {
    50: '#64507b',
    500: '#251048',
    950: '#000000',
  },
}
SCSS
$custom: #251048;
$custom-light: #64507b;
$custom-dark: #000000;
JSON
{
  "hex": "#251048",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 262.5,
    "s": 63.636,
    "l": 17.255
  },
  "oklch": {
    "l": 0.24208,
    "c": 0.09799,
    "h": 295.2
  },
  "luminance": 0.01232
}

Semantic roles & 50–950 ramp

primary
#251048
secondary
#648232
accent
#E741A9
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #251048

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

Preview Lab → · Contrast checker → · Palette generator →

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