#251155#251155

#251155 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.7% C 0.114 H 289.2°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#251155
RGBrgb(37, 17, 85)
HSLhsl(258, 67%, 20%)
HSVhsv(258, 80%, 33%)
CMYKcmyk(56.5%, 80%, 0%, 66.7%)
CIE-LABlab(12.29, 28.78, -37.49)
CIE-LCHlch(12.29, 47.26, 307.51°)
OKLaboklab(25.67% 0.0375 -0.1077)
OKLCHoklch(25.67% 0.114 289.2)
XYZxyz(2.6026, 1.4500, 8.7353)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251155 #415511
analogous
#111F55 #251155 #471155
triadic
#251155 #552511 #115525
tetradic
#251155 #55111F #415511 #115547
square
#251155 #55111F #415511 #115547
split-complementary
#251155 #554711 #1F5511
monochromatic
#0B051A #0F0722 #251155 #3B1B88 #5125BB

Accessibility & contrast

On white

16.28
#251155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#251155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251155
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251155#FFFFFF#000000##FFFFFF
##2511551.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002157
Deuteranopia (green-blind)
#001E54
Tritanopia (blue-blind)
#132332
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #251155;
/* rgb */ color: rgb(37, 17, 85);
/* oklch */ color: oklch(25.7% 0.114 289.2);
Tailwind
colors: {
  custom: {
    50: '#665186',
    500: '#251155',
    950: '#000000',
  },
}
SCSS
$custom: #251155;
$custom-light: #665186;
$custom-dark: #000000;
JSON
{
  "hex": "#251155",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 85
  },
  "hsl": {
    "h": 257.647,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.25667,
    "c": 0.11408,
    "h": 289.2
  },
  "luminance": 0.0145
}

Semantic roles & 50–950 ramp

primary
#251155
secondary
#748E34
accent
#EA3EB7
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #251155

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

Preview Lab → · Contrast checker → · Palette generator →

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