#251561#251561

#251561 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.5% C 0.125 H 284.2°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#251561
RGBrgb(37, 21, 97)
HSLhsl(253, 64%, 23%)
HSVhsv(253, 78%, 38%)
CMYKcmyk(61.9%, 78.4%, 0%, 62%)
CIE-LABlab(14.36, 30.40, -42.16)
CIE-LCHlch(14.36, 51.97, 305.79°)
OKLaboklab(27.51% 0.0307 -0.1214)
OKLCHoklch(27.51% 0.125 284.2)
XYZxyz(3.1881, 1.7925, 11.4849)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251561 #516115
analogous
#152B61 #251561 #4B1561
triadic
#251561 #612515 #156125
tetradic
#251561 #61152B #516115 #15614B
square
#251561 #61152B #516115 #15614B
split-complementary
#251561 #614B15 #2B6115
monochromatic
#0A0519 #120A2F #251561 #382093 #4B2BC6

Accessibility & contrast

On white

15.46
#251561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#251561 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251561
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251561#FFFFFF#000000##FFFFFF
##2515611.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002763
Deuteranopia (green-blind)
#002260
Tritanopia (blue-blind)
#042A39
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #251561;
/* rgb */ color: rgb(37, 21, 97);
/* oklch */ color: oklch(27.5% 0.125 284.2);
Tailwind
colors: {
  custom: {
    50: '#68548f',
    500: '#251561',
    950: '#000000',
  },
}
SCSS
$custom: #251561;
$custom-light: #68548f;
$custom-dark: #000000;
JSON
{
  "hex": "#251561",
  "rgb": {
    "r": 37,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 252.632,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27511,
    "c": 0.12525,
    "h": 284.2
  },
  "luminance": 0.01793
}

Semantic roles & 50–950 ramp

primary
#251561
secondary
#84983A
accent
#E740C4
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #251561

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

Preview Lab → · Contrast checker → · Palette generator →

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