#251574#251574

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

Color values

HEX#251574
RGBrgb(37, 21, 116)
HSLhsl(250, 69%, 27%)
HSVhsv(250, 82%, 45%)
CMYKcmyk(68.1%, 81.9%, 0%, 54.5%)
CIE-LABlab(16.46, 36.63, -51.15)
CIE-LCHlch(16.46, 62.91, 305.61°)
OKLaboklab(29.61% 0.0253 -0.1477)
OKLCHoklch(29.61% 0.15 279.7)
XYZxyz(4.1825, 2.1903, 16.7220)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251574 #647415
analogous
#153574 #251574 #551574
triadic
#251574 #742515 #157425
tetradic
#251574 #741535 #647415 #157455
square
#251574 #741535 #647415 #157455
split-complementary
#251574 #745515 #357415
monochromatic
#08051A #140C40 #251574 #361EA8 #482BD9

Accessibility & contrast

On white

14.60
#251574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#251574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251574
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251574#FFFFFF#000000##FFFFFF
##2515741.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C77
Deuteranopia (green-blind)
#002572
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #251574;
/* rgb */ color: rgb(37, 21, 116);
/* oklch */ color: oklch(29.6% 0.150 279.7);
Tailwind
colors: {
  custom: {
    50: '#6c559d',
    500: '#251574',
    950: '#000000',
  },
}
SCSS
$custom: #251574;
$custom-light: #6c559d;
$custom-dark: #000000;
JSON
{
  "hex": "#251574",
  "rgb": {
    "r": 37,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 250.105,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29611,
    "c": 0.14983,
    "h": 279.7
  },
  "luminance": 0.02191
}

Semantic roles & 50–950 ramp

primary
#251574
secondary
#97AA3B
accent
#EC3CCE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #251574

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

Preview Lab → · Contrast checker → · Palette generator →

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