#251244#251244

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

Color values

HEX#251244
RGBrgb(37, 18, 68)
HSLhsl(263, 58%, 17%)
HSVhsv(263, 74%, 27%)
CMYKcmyk(45.6%, 73.5%, 0%, 73.3%)
CIE-LABlab(10.87, 22.72, -28.05)
CIE-LCHlch(10.87, 36.10, 309.01°)
OKLaboklab(24.15% 0.04 -0.08)
OKLCHoklch(24.15% 0.089 296.6)
XYZxyz(2.0224, 1.2432, 5.6011)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251244 #314412
analogous
#121844 #251244 #3E1244
triadic
#251244 #442512 #124425
tetradic
#251244 #441218 #314412 #12443E
square
#251244 #441218 #314412 #12443E
split-complementary
#251244 #443E12 #184412
monochromatic
#0D0618 #0D0618 #251244 #3F1F74 #5A2CA5

Accessibility & contrast

On white

16.82
#251244 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251244
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251244#FFFFFF#000000##FFFFFF
##2512441.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D46
Deuteranopia (green-blind)
#001D43
Tritanopia (blue-blind)
#1D1E29
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #251244;
/* rgb */ color: rgb(37, 18, 68);
/* oklch */ color: oklch(24.2% 0.089 296.6);
Tailwind
colors: {
  custom: {
    50: '#635178',
    500: '#251244',
    950: '#000000',
  },
}
SCSS
$custom: #251244;
$custom-light: #635178;
$custom-dark: #000000;
JSON
{
  "hex": "#251244",
  "rgb": {
    "r": 37,
    "g": 18,
    "b": 68
  },
  "hsl": {
    "h": 262.8,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24153,
    "c": 0.08946,
    "h": 296.6
  },
  "luminance": 0.01243
}

Semantic roles & 50–950 ramp

primary
#251244
secondary
#627D35
accent
#E146A6
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050209
muted
#7A787B

Preview Lab

Preview with #251244

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

Preview Lab → · Contrast checker → · Palette generator →

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