#251159#251159

#251159 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.1% C 0.119 H 287.7°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#251159
RGBrgb(37, 17, 89)
HSLhsl(257, 68%, 21%)
HSVhsv(257, 81%, 35%)
CMYKcmyk(58.4%, 80.9%, 0%, 65.1%)
CIE-LABlab(12.71, 30.07, -39.51)
CIE-LCHlch(12.71, 49.65, 307.27°)
OKLaboklab(26.09% 0.0364 -0.1137)
OKLCHoklch(26.09% 0.119 287.7)
XYZxyz(2.7660, 1.5153, 9.5960)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251159 #455911
analogous
#112159 #251159 #491159
triadic
#251159 #592511 #115925
tetradic
#251159 #591121 #455911 #115949
square
#251159 #591121 #455911 #115949
split-complementary
#251159 #594911 #215911
monochromatic
#0B051A #100726 #251159 #3A1B8C #5025C0

Accessibility & contrast

On white

16.12
#251159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#251159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251159
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251159#FFFFFF#000000##FFFFFF
##2511591.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235B
Deuteranopia (green-blind)
#001F58
Tritanopia (blue-blind)
#0F2534
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #251159;
/* rgb */ color: rgb(37, 17, 89);
/* oklch */ color: oklch(26.1% 0.119 287.7);
Tailwind
colors: {
  custom: {
    50: '#675189',
    500: '#251159',
    950: '#000000',
  },
}
SCSS
$custom: #251159;
$custom-light: #675189;
$custom-dark: #000000;
JSON
{
  "hex": "#251159",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 89
  },
  "hsl": {
    "h": 256.667,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.26089,
    "c": 0.11934,
    "h": 287.7
  },
  "luminance": 0.01515
}

Semantic roles & 50–950 ramp

primary
#251159
secondary
#789234
accent
#EB3DBB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #251159

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

Preview Lab → · Contrast checker → · Palette generator →

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