#251076#251076

#251076 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.157 H 280.0°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#251076
RGBrgb(37, 16, 118)
HSLhsl(252, 76%, 26%)
HSVhsv(252, 86%, 46%)
CMYKcmyk(68.6%, 86.4%, 0%, 53.7%)
CIE-LABlab(15.86, 39.69, -53.42)
CIE-LCHlch(15.86, 66.55, 306.61°)
OKLaboklab(29.27% 0.0273 -0.1542)
OKLCHoklch(29.27% 0.157 280)
XYZxyz(4.2172, 2.0716, 17.3136)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251076 #617610
analogous
#102E76 #251076 #581076
triadic
#251076 #762510 #107625
tetradic
#251076 #76102E #617610 #107658
square
#251076 #76102E #617610 #107658
split-complementary
#251076 #765810 #2E7610
monochromatic
#08041B #140940 #251076 #3617AC #4720E1

Accessibility & contrast

On white

14.85
#251076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#251076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251076
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251076#FFFFFF#000000##FFFFFF
##2510761.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B79
Deuteranopia (green-blind)
#002474
Tritanopia (blue-blind)
#003045
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #251076;
/* rgb */ color: rgb(37, 16, 118);
/* oklch */ color: oklch(29.3% 0.157 280.0);
Tailwind
colors: {
  custom: {
    50: '#6d539f',
    500: '#251076',
    950: '#000000',
  },
}
SCSS
$custom: #251076;
$custom-light: #6d539f;
$custom-dark: #000000;
JSON
{
  "hex": "#251076",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 252.353,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29267,
    "c": 0.15661,
    "h": 280
  },
  "luminance": 0.02072
}

Semantic roles & 50–950 ramp

primary
#251076
secondary
#94AD35
accent
#F335CC
background
#F7F4F9
surface
#EDE7F2
border
#C8C3CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #251076

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

Preview Lab → · Contrast checker → · Palette generator →

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