#251081#251081

#251081 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.6% C 0.170 H 277.9°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#251081
RGBrgb(37, 16, 129)
HSLhsl(251, 78%, 28%)
HSVhsv(251, 88%, 51%)
CMYKcmyk(71.3%, 87.6%, 0%, 49.4%)
CIE-LABlab(17.22, 43.02, -58.21)
CIE-LCHlch(17.22, 72.38, 306.47°)
OKLaboklab(30.6% 0.0233 -0.1681)
OKLCHoklch(30.6% 0.17 277.9)
XYZxyz(4.9094, 2.3484, 20.9592)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251081 #6C8110
analogous
#103481 #251081 #5D1081
triadic
#251081 #812510 #108125
tetradic
#251081 #811034 #6C8110 #10815D
square
#251081 #811034 #6C8110 #10815D
split-complementary
#251081 #815D10 #348110
monochromatic
#08031B #15094B #251081 #3517B7 #4A27E4

Accessibility & contrast

On white

14.29
#251081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#251081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251081
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251081#FFFFFF#000000##FFFFFF
##2510811.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F84
Deuteranopia (green-blind)
#00267F
Tritanopia (blue-blind)
#00354B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #251081;
/* rgb */ color: rgb(37, 16, 129);
/* oklch */ color: oklch(30.6% 0.170 277.9);
Tailwind
colors: {
  custom: {
    50: '#7054a7',
    500: '#251081',
    950: '#000000',
  },
}
SCSS
$custom: #251081;
$custom-light: #7054a7;
$custom-dark: #000000;
JSON
{
  "hex": "#251081",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 129
  },
  "hsl": {
    "h": 251.15,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30595,
    "c": 0.16971,
    "h": 277.9
  },
  "luminance": 0.02349
}

Semantic roles & 50–950 ramp

primary
#251081
secondary
#9FB736
accent
#F433D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #251081

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

Preview Lab → · Contrast checker → · Palette generator →

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