#251573#251573

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

Color values

HEX#251573
RGBrgb(37, 21, 115)
HSLhsl(250, 69%, 27%)
HSVhsv(250, 82%, 45%)
CMYKcmyk(67.8%, 81.7%, 0%, 54.9%)
CIE-LABlab(16.34, 36.31, -50.69)
CIE-LCHlch(16.34, 62.35, 305.61°)
OKLaboklab(29.5% 0.0256 -0.1463)
OKLCHoklch(29.5% 0.149 279.9)
XYZxyz(4.1246, 2.1671, 16.4173)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251573 #637315
analogous
#153473 #251573 #541573
triadic
#251573 #732515 #157325
tetradic
#251573 #731534 #637315 #157354
square
#251573 #731534 #637315 #157354
split-complementary
#251573 #735415 #347315
monochromatic
#08051A #140C3F #251573 #361EA7 #482AD8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##251573#FFFFFF#000000##FFFFFF
##2515731.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)
#002C76
Deuteranopia (green-blind)
#002571
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #251573;
/* rgb */ color: rgb(37, 21, 115);
/* oklch */ color: oklch(29.5% 0.149 279.9);
Tailwind
colors: {
  custom: {
    50: '#6c559c',
    500: '#251573',
    950: '#000000',
  },
}
SCSS
$custom: #251573;
$custom-light: #6c559c;
$custom-dark: #000000;
JSON
{
  "hex": "#251573",
  "rgb": {
    "r": 37,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 250.213,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29497,
    "c": 0.14857,
    "h": 279.9
  },
  "luminance": 0.02167
}

Semantic roles & 50–950 ramp

primary
#251573
secondary
#96A93B
accent
#EC3CCE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #251573

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

Preview Lab → · Contrast checker → · Palette generator →

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