#251044#251044

#251044 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.8% C 0.093 H 297.4°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#251044
RGBrgb(37, 16, 68)
HSLhsl(264, 62%, 16%)
HSVhsv(264, 76%, 27%)
CMYKcmyk(45.6%, 76.5%, 0%, 73.3%)
CIE-LABlab(10.42, 23.97, -28.79)
CIE-LCHlch(10.42, 37.46, 309.78°)
OKLaboklab(23.83% 0.0426 -0.0822)
OKLCHoklch(23.83% 0.093 297.4)
XYZxyz(1.9914, 1.1812, 5.5908)
Luminance0.0118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251044 #2F4410
analogous
#101544 #251044 #3F1044
triadic
#251044 #442510 #104425
tetradic
#251044 #441015 #2F4410 #10443F
square
#251044 #441015 #2F4410 #10443F
split-complementary
#251044 #443F10 #154410
monochromatic
#0D0619 #0D0619 #251044 #401C76 #5B27A7

Accessibility & contrast

On white

16.99
#251044 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#251044 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251044
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251044#FFFFFF#000000##FFFFFF
##2510441.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C46
Deuteranopia (green-blind)
#001C43
Tritanopia (blue-blind)
#1D1C28
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #251044;
/* rgb */ color: rgb(37, 16, 68);
/* oklch */ color: oklch(23.8% 0.093 297.4);
Tailwind
colors: {
  custom: {
    50: '#635078',
    500: '#251044',
    950: '#000000',
  },
}
SCSS
$custom: #251044;
$custom-light: #635078;
$custom-dark: #000000;
JSON
{
  "hex": "#251044",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 68
  },
  "hsl": {
    "h": 264.231,
    "s": 61.905,
    "l": 16.471
  },
  "oklch": {
    "l": 0.23827,
    "c": 0.09255,
    "h": 297.4
  },
  "luminance": 0.01181
}

Semantic roles & 50–950 ramp

primary
#251044
secondary
#5F7E32
accent
#E543A3
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050209
muted
#7A787B

Preview Lab

Preview with #251044

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

Preview Lab → · Contrast checker → · Palette generator →

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