#251376#251376

#251376 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.154 H 279.6°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#251376
RGBrgb(37, 19, 118)
HSLhsl(251, 72%, 27%)
HSVhsv(251, 84%, 46%)
CMYKcmyk(68.6%, 83.9%, 0%, 53.7%)
CIE-LABlab(16.34, 38.28, -52.63)
CIE-LCHlch(16.34, 65.08, 306.03°)
OKLaboklab(29.6% 0.0258 -0.152)
OKLCHoklch(29.6% 0.154 279.6)
XYZxyz(4.2648, 2.1667, 17.3295)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251376 #647613
analogous
#133376 #251376 #571376
triadic
#251376 #762513 #137625
tetradic
#251376 #761333 #647613 #137657
square
#251376 #761333 #647613 #137657
split-complementary
#251376 #765713 #337613
monochromatic
#08041A #140B41 #251376 #361BAB #4827DC

Accessibility & contrast

On white

14.65
#251376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#251376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251376
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251376#FFFFFF#000000##FFFFFF
##2513761.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C79
Deuteranopia (green-blind)
#002574
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #251376;
/* rgb */ color: rgb(37, 19, 118);
/* oklch */ color: oklch(29.6% 0.154 279.6);
Tailwind
colors: {
  custom: {
    50: '#6d549f',
    500: '#251376',
    950: '#000000',
  },
}
SCSS
$custom: #251376;
$custom-light: #6d549f;
$custom-dark: #000000;
JSON
{
  "hex": "#251376",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 118
  },
  "hsl": {
    "h": 250.909,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29599,
    "c": 0.15413,
    "h": 279.6
  },
  "luminance": 0.02167
}

Semantic roles & 50–950 ramp

primary
#251376
secondary
#97AC39
accent
#EF39CE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #251376

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

Preview Lab → · Contrast checker → · Palette generator →

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