#251148#251148

#251148 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.097 H 294.9°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#251148
RGBrgb(37, 17, 72)
HSLhsl(262, 62%, 17%)
HSVhsv(262, 76%, 28%)
CMYKcmyk(48.6%, 76.4%, 0%, 71.8%)
CIE-LABlab(11.01, 24.62, -30.63)
CIE-LCHlch(11.01, 39.30, 308.79°)
OKLaboklab(24.36% 0.0406 -0.0876)
OKLCHoklch(24.36% 0.097 294.9)
XYZxyz(2.1328, 1.2620, 6.2609)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251148 #344811
analogous
#111948 #251148 #401148
triadic
#251148 #482511 #114825
tetradic
#251148 #481119 #344811 #114840
square
#251148 #481119 #344811 #114840
split-complementary
#251148 #484011 #194811
monochromatic
#0D0619 #0D0619 #251148 #3E1D7A #5828AB

Accessibility & contrast

On white

16.77
#251148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251148
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251148#FFFFFF#000000##FFFFFF
##2511481.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4A
Deuteranopia (green-blind)
#001D47
Tritanopia (blue-blind)
#1B1E2B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #251148;
/* rgb */ color: rgb(37, 17, 72);
/* oklch */ color: oklch(24.4% 0.097 294.9);
Tailwind
colors: {
  custom: {
    50: '#63507b',
    500: '#251148',
    950: '#000000',
  },
}
SCSS
$custom: #251148;
$custom-light: #63507b;
$custom-dark: #000000;
JSON
{
  "hex": "#251148",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 72
  },
  "hsl": {
    "h": 261.818,
    "s": 61.798,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24363,
    "c": 0.09655,
    "h": 294.9
  },
  "luminance": 0.01262
}

Semantic roles & 50–950 ramp

primary
#251148
secondary
#658233
accent
#E543AA
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #251148

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

Preview Lab → · Contrast checker → · Palette generator →

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