#251473#251473

#251473 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.149 H 280.1°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#251473
RGBrgb(37, 20, 115)
HSLhsl(251, 70%, 26%)
HSVhsv(251, 83%, 45%)
CMYKcmyk(67.8%, 82.6%, 0%, 54.9%)
CIE-LABlab(16.16, 36.83, -50.99)
CIE-LCHlch(16.16, 62.90, 305.84°)
OKLaboklab(29.37% 0.0262 -0.1472)
OKLCHoklch(29.37% 0.15 280.1)
XYZxyz(4.1066, 2.1311, 16.4113)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251473 #627314
analogous
#143373 #251473 #551473
triadic
#251473 #732514 #147325
tetradic
#251473 #731433 #627314 #147355
square
#251473 #731433 #627314 #147355
split-complementary
#251473 #735514 #337314
monochromatic
#08051A #140B3F #251473 #361DA7 #4828DA

Accessibility & contrast

On white

14.72
#251473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251473
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251473#FFFFFF#000000##FFFFFF
##2514731.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B76
Deuteranopia (green-blind)
#002471
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #251473;
/* rgb */ color: rgb(37, 20, 115);
/* oklch */ color: oklch(29.4% 0.149 280.1);
Tailwind
colors: {
  custom: {
    50: '#6c559c',
    500: '#251473',
    950: '#000000',
  },
}
SCSS
$custom: #251473;
$custom-light: #6c559c;
$custom-dark: #000000;
JSON
{
  "hex": "#251473",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 250.737,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29372,
    "c": 0.1495,
    "h": 280.1
  },
  "luminance": 0.02131
}

Semantic roles & 50–950 ramp

primary
#251473
secondary
#95A93A
accent
#ED3BCD
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #251473

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

Preview Lab → · Contrast checker → · Palette generator →

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