#251460#251460

#251460 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.3% C 0.125 H 284.7°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#251460
RGBrgb(37, 20, 96)
HSLhsl(253, 66%, 23%)
HSVhsv(253, 79%, 38%)
CMYKcmyk(61.5%, 79.2%, 0%, 62.4%)
CIE-LABlab(14.05, 30.64, -42.00)
CIE-LCHlch(14.05, 51.99, 306.12°)
OKLaboklab(27.26% 0.0318 -0.121)
OKLCHoklch(27.26% 0.125 284.7)
XYZxyz(3.1238, 1.7380, 11.2349)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251460 #4F6014
analogous
#142960 #251460 #4B1460
triadic
#251460 #602514 #146025
tetradic
#251460 #601429 #4F6014 #14604B
square
#251460 #601429 #4F6014 #14604B
split-complementary
#251460 #604B14 #296014
monochromatic
#0A0519 #11092D #251460 #391F93 #4C29C5

Accessibility & contrast

On white

15.58
#251460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251460
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251460#FFFFFF#000000##FFFFFF
##2514601.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002662
Deuteranopia (green-blind)
#00215F
Tritanopia (blue-blind)
#062939
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #251460;
/* rgb */ color: rgb(37, 20, 96);
/* oklch */ color: oklch(27.3% 0.125 284.7);
Tailwind
colors: {
  custom: {
    50: '#68548e',
    500: '#251460',
    950: '#000000',
  },
}
SCSS
$custom: #251460;
$custom-light: #68548e;
$custom-dark: #000000;
JSON
{
  "hex": "#251460",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 96
  },
  "hsl": {
    "h": 253.421,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27259,
    "c": 0.12509,
    "h": 284.7
  },
  "luminance": 0.01738
}

Semantic roles & 50–950 ramp

primary
#251460
secondary
#829838
accent
#E83FC3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #251460

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

Preview Lab → · Contrast checker → · Palette generator →

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