#251160#251160

#251160 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.8% C 0.128 H 285.5°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#251160
RGBrgb(37, 17, 96)
HSLhsl(255, 70%, 22%)
HSVhsv(255, 82%, 38%)
CMYKcmyk(61.5%, 82.3%, 0%, 62.4%)
CIE-LABlab(13.46, 32.31, -42.96)
CIE-LCHlch(13.46, 53.75, 306.94°)
OKLaboklab(26.85% 0.0342 -0.1237)
OKLCHoklch(26.85% 0.128 285.5)
XYZxyz(3.0741, 1.6386, 11.2184)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251160 #4C6011
analogous
#112460 #251160 #4D1160
triadic
#251160 #602511 #116025
tetradic
#251160 #601124 #4C6011 #11604D
square
#251160 #601124 #4C6011 #11604D
split-complementary
#251160 #604D11 #246011
monochromatic
#0A051A #11082C #251160 #391A94 #4D23C8

Accessibility & contrast

On white

15.82
#251160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#251160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251160
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251160#FFFFFF#000000##FFFFFF
##2511601.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #251160;
/* rgb */ color: rgb(37, 17, 96);
/* oklch */ color: oklch(26.8% 0.128 285.5);
Tailwind
colors: {
  custom: {
    50: '#68528e',
    500: '#251160',
    950: '#000000',
  },
}
SCSS
$custom: #251160;
$custom-light: #68528e;
$custom-dark: #000000;
JSON
{
  "hex": "#251160",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 96
  },
  "hsl": {
    "h": 255.19,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26849,
    "c": 0.12839,
    "h": 285.5
  },
  "luminance": 0.01639
}

Semantic roles & 50–950 ramp

primary
#251160
secondary
#7F9934
accent
#ED3BC0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #251160

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

Preview Lab → · Contrast checker → · Palette generator →

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