#251049#251049

#251049 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.099 H 294.7°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#251049
RGBrgb(37, 16, 73)
HSLhsl(262, 64%, 17%)
HSVhsv(262, 78%, 29%)
CMYKcmyk(49.3%, 78.1%, 0%, 71.4%)
CIE-LABlab(10.88, 25.54, -31.53)
CIE-LCHlch(10.88, 40.57, 309.01°)
OKLaboklab(24.31% 0.0416 -0.0902)
OKLCHoklch(24.31% 0.099 294.7)
XYZxyz(2.1505, 1.2449, 6.4290)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251049 #344910
analogous
#101849 #251049 #411049
triadic
#251049 #492510 #104925
tetradic
#251049 #491018 #344910 #104941
square
#251049 #491018 #344910 #104941
split-complementary
#251049 #494110 #184910
monochromatic
#0D0619 #0D0619 #251049 #3E1B7B #5826AD

Accessibility & contrast

On white

16.81
#251049 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251049
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251049#FFFFFF#000000##FFFFFF
##2510491.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #251049;
/* rgb */ color: rgb(37, 16, 73);
/* oklch */ color: oklch(24.3% 0.099 294.7);
Tailwind
colors: {
  custom: {
    50: '#64507c',
    500: '#251049',
    950: '#000000',
  },
}
SCSS
$custom: #251049;
$custom-light: #64507c;
$custom-dark: #000000;
JSON
{
  "hex": "#251049",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 73
  },
  "hsl": {
    "h": 262.105,
    "s": 64.045,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24305,
    "c": 0.09934,
    "h": 294.7
  },
  "luminance": 0.01245
}

Semantic roles & 50–950 ramp

primary
#251049
secondary
#658332
accent
#E741AA
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #251049

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

Preview Lab → · Contrast checker → · Palette generator →

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