#251261#251261

#251261 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.1% C 0.129 H 284.9°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#251261
RGBrgb(37, 18, 97)
HSLhsl(254, 69%, 23%)
HSVhsv(254, 81%, 38%)
CMYKcmyk(61.9%, 81.4%, 0%, 62%)
CIE-LABlab(13.76, 32.09, -43.14)
CIE-LCHlch(13.76, 53.77, 306.65°)
OKLaboklab(27.09% 0.0332 -0.1243)
OKLCHoklch(27.09% 0.129 284.9)
XYZxyz(3.1363, 1.6888, 11.4677)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251261 #4E6112
analogous
#122761 #251261 #4C1261
triadic
#251261 #612512 #126125
tetradic
#251261 #611227 #4E6112 #12614C
square
#251261 #611227 #4E6112 #12614C
split-complementary
#251261 #614C12 #276112
monochromatic
#0A051A #11082D #251261 #391C95 #4C25C8

Accessibility & contrast

On white

15.70
#251261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#251261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251261
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251261#FFFFFF#000000##FFFFFF
##2512611.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002563
Deuteranopia (green-blind)
#002160
Tritanopia (blue-blind)
#052939
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #251261;
/* rgb */ color: rgb(37, 18, 97);
/* oklch */ color: oklch(27.1% 0.129 284.9);
Tailwind
colors: {
  custom: {
    50: '#68528f',
    500: '#251261',
    950: '#000000',
  },
}
SCSS
$custom: #251261;
$custom-light: #68528f;
$custom-dark: #000000;
JSON
{
  "hex": "#251261",
  "rgb": {
    "r": 37,
    "g": 18,
    "b": 97
  },
  "hsl": {
    "h": 254.43,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27091,
    "c": 0.12862,
    "h": 284.9
  },
  "luminance": 0.01689
}

Semantic roles & 50–950 ramp

primary
#251261
secondary
#819936
accent
#EC3CC1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #251261

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

Preview Lab → · Contrast checker → · Palette generator →

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