#251560#251560

#251560 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.4% C 0.124 H 284.5°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#251560
RGBrgb(37, 21, 96)
HSLhsl(253, 64%, 23%)
HSVhsv(253, 78%, 38%)
CMYKcmyk(61.5%, 78.1%, 0%, 62.4%)
CIE-LABlab(14.25, 30.06, -41.66)
CIE-LCHlch(14.25, 51.38, 305.81°)
OKLaboklab(27.41% 0.031 -0.12)
OKLCHoklch(27.41% 0.124 284.5)
XYZxyz(3.1418, 1.7740, 11.2409)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251560 #506015
analogous
#152A60 #251560 #4A1560
triadic
#251560 #602515 #156025
tetradic
#251560 #60152A #506015 #15604A
square
#251560 #60152A #506015 #15604A
split-complementary
#251560 #604A15 #2A6015
monochromatic
#0A0519 #120A2E #251560 #382092 #4C2BC4

Accessibility & contrast

On white

15.50
#251560 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#251560 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251560
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251560#FFFFFF#000000##FFFFFF
##2515601.0015.501.3515.50
#FFFFFF15.501.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002662
Deuteranopia (green-blind)
#00225F
Tritanopia (blue-blind)
#062A39
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #251560;
/* rgb */ color: rgb(37, 21, 96);
/* oklch */ color: oklch(27.4% 0.124 284.5);
Tailwind
colors: {
  custom: {
    50: '#68548e',
    500: '#251560',
    950: '#000000',
  },
}
SCSS
$custom: #251560;
$custom-light: #68548e;
$custom-dark: #000000;
JSON
{
  "hex": "#251560",
  "rgb": {
    "r": 37,
    "g": 21,
    "b": 96
  },
  "hsl": {
    "h": 252.8,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27405,
    "c": 0.12392,
    "h": 284.5
  },
  "luminance": 0.01774
}

Semantic roles & 50–950 ramp

primary
#251560
secondary
#83973A
accent
#E741C4
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #251560

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

Preview Lab → · Contrast checker → · Palette generator →

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