#251060#251060

#251060 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.7% C 0.129 H 285.7°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#251060
RGBrgb(37, 16, 96)
HSLhsl(256, 71%, 22%)
HSVhsv(256, 83%, 38%)
CMYKcmyk(61.5%, 83.3%, 0%, 62.4%)
CIE-LABlab(13.28, 32.84, -43.26)
CIE-LCHlch(13.28, 54.31, 307.20°)
OKLaboklab(26.72% 0.035 -0.1246)
OKLCHoklch(26.72% 0.129 285.7)
XYZxyz(3.0589, 1.6082, 11.2133)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251060 #4B6010
analogous
#102360 #251060 #4D1060
triadic
#251060 #602510 #106025
tetradic
#251060 #601023 #4B6010 #10604D
square
#251060 #601023 #4B6010 #10604D
split-complementary
#251060 #604D10 #236010
monochromatic
#0A041A #11072C #251060 #391994 #4D21C9

Accessibility & contrast

On white

15.89
#251060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#251060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251060
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251060#FFFFFF#000000##FFFFFF
##2510601.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002462
Deuteranopia (green-blind)
#00205F
Tritanopia (blue-blind)
#062738
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #251060;
/* rgb */ color: rgb(37, 16, 96);
/* oklch */ color: oklch(26.7% 0.129 285.7);
Tailwind
colors: {
  custom: {
    50: '#68518e',
    500: '#251060',
    950: '#000000',
  },
}
SCSS
$custom: #251060;
$custom-light: #68518e;
$custom-dark: #000000;
JSON
{
  "hex": "#251060",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 96
  },
  "hsl": {
    "h": 255.75,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.26722,
    "c": 0.12943,
    "h": 285.7
  },
  "luminance": 0.01608
}

Semantic roles & 50–950 ramp

primary
#251060
secondary
#7E9933
accent
#EE3ABF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #251060

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

Preview Lab → · Contrast checker → · Palette generator →

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