#251061#251061

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

Color values

HEX#251061
RGBrgb(37, 16, 97)
HSLhsl(256, 72%, 22%)
HSVhsv(256, 84%, 38%)
CMYKcmyk(61.9%, 83.5%, 0%, 62%)
CIE-LABlab(13.39, 33.15, -43.74)
CIE-LCHlch(13.39, 54.89, 307.16°)
OKLaboklab(26.83% 0.0346 -0.126)
OKLCHoklch(26.83% 0.131 285.4)
XYZxyz(3.1053, 1.6268, 11.4573)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251061 #4C6110
analogous
#102361 #251061 #4E1061
triadic
#251061 #612510 #106125
tetradic
#251061 #611023 #4C6110 #10614E
square
#251061 #611023 #4C6110 #10614E
split-complementary
#251061 #614E10 #236110
monochromatic
#0A041A #11072C #251061 #391996 #4D21CA

Accessibility & contrast

On white

15.84
#251061 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251061
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251061#FFFFFF#000000##FFFFFF
##2510611.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002463
Deuteranopia (green-blind)
#002060
Tritanopia (blue-blind)
#052838
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #251061;
/* rgb */ color: rgb(37, 16, 97);
/* oklch */ color: oklch(26.8% 0.131 285.4);
Tailwind
colors: {
  custom: {
    50: '#68518f',
    500: '#251061',
    950: '#000000',
  },
}
SCSS
$custom: #251061;
$custom-light: #68518f;
$custom-dark: #000000;
JSON
{
  "hex": "#251061",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 97
  },
  "hsl": {
    "h": 255.556,
    "s": 71.681,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26834,
    "c": 0.13069,
    "h": 285.4
  },
  "luminance": 0.01627
}

Semantic roles & 50–950 ramp

primary
#251061
secondary
#7F9A33
accent
#EE39BF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #251061

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

Preview Lab → · Contrast checker → · Palette generator →

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