#251056#251056

#251056 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.6% C 0.117 H 289.1°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#251056
RGBrgb(37, 16, 86)
HSLhsl(258, 69%, 20%)
HSVhsv(258, 81%, 34%)
CMYKcmyk(57%, 81.4%, 0%, 66.3%)
CIE-LABlab(12.19, 29.66, -38.32)
CIE-LCHlch(12.19, 48.46, 307.74°)
OKLaboklab(25.63% 0.0382 -0.1102)
OKLCHoklch(25.63% 0.117 289.1)
XYZxyz(2.6275, 1.4357, 8.9410)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251056 #415610
analogous
#101E56 #251056 #481056
triadic
#251056 #562510 #105625
tetradic
#251056 #56101E #415610 #105648
square
#251056 #56101E #415610 #105648
split-complementary
#251056 #564810 #1E5610
monochromatic
#0B051A #0F0622 #251056 #3B1A8A #5123BD

Accessibility & contrast

On white

16.31
#251056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251056
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251056#FFFFFF#000000##FFFFFF
##2510561.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002158
Deuteranopia (green-blind)
#001E55
Tritanopia (blue-blind)
#122332
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #251056;
/* rgb */ color: rgb(37, 16, 86);
/* oklch */ color: oklch(25.6% 0.117 289.1);
Tailwind
colors: {
  custom: {
    50: '#665186',
    500: '#251056',
    950: '#000000',
  },
}
SCSS
$custom: #251056;
$custom-light: #665186;
$custom-dark: #000000;
JSON
{
  "hex": "#251056",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 258,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.25633,
    "c": 0.11658,
    "h": 289.1
  },
  "luminance": 0.01436
}

Semantic roles & 50–950 ramp

primary
#251056
secondary
#748F32
accent
#EB3CB7
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #251056

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

Preview Lab → · Contrast checker → · Palette generator →

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