#251360#251360

#251360 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.1% C 0.126 H 285.0°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#251360
RGBrgb(37, 19, 96)
HSLhsl(254, 67%, 23%)
HSVhsv(254, 80%, 38%)
CMYKcmyk(61.5%, 80.2%, 0%, 62.4%)
CIE-LABlab(13.85, 31.21, -42.33)
CIE-LCHlch(13.85, 52.59, 306.40°)
OKLaboklab(27.12% 0.0327 -0.1219)
OKLCHoklch(27.12% 0.126 285)
XYZxyz(3.1065, 1.7034, 11.2292)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251360 #4E6013
analogous
#132760 #251360 #4C1360
triadic
#251360 #602513 #136025
tetradic
#251360 #601327 #4E6013 #13604C
square
#251360 #601327 #4E6013 #13604C
split-complementary
#251360 #604C13 #276013
monochromatic
#0A051A #11092D #251360 #391D93 #4C27C6

Accessibility & contrast

On white

15.66
#251360 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#251360 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251360
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251360#FFFFFF#000000##FFFFFF
##2513601.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002562
Deuteranopia (green-blind)
#00215F
Tritanopia (blue-blind)
#062938
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #251360;
/* rgb */ color: rgb(37, 19, 96);
/* oklch */ color: oklch(27.1% 0.126 285.0);
Tailwind
colors: {
  custom: {
    50: '#68538e',
    500: '#251360',
    950: '#000000',
  },
}
SCSS
$custom: #251360;
$custom-light: #68538e;
$custom-dark: #000000;
JSON
{
  "hex": "#251360",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 96
  },
  "hsl": {
    "h": 254.026,
    "s": 66.957,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27118,
    "c": 0.12622,
    "h": 285
  },
  "luminance": 0.01704
}

Semantic roles & 50–950 ramp

primary
#251360
secondary
#819837
accent
#EA3EC2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #251360

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

Preview Lab → · Contrast checker → · Palette generator →

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