#251264#251264

#251264 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.4% C 0.132 H 284.1°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#251264
RGBrgb(37, 18, 100)
HSLhsl(254, 69%, 23%)
HSVhsv(254, 82%, 39%)
CMYKcmyk(63%, 82%, 0%, 60.8%)
CIE-LABlab(14.09, 33.06, -44.58)
CIE-LCHlch(14.09, 55.50, 306.56°)
OKLaboklab(27.42% 0.0322 -0.1285)
OKLCHoklch(27.42% 0.132 284.1)
XYZxyz(3.2788, 1.7458, 12.2183)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251264 #516412
analogous
#122864 #251264 #4E1264
triadic
#251264 #642512 #126425
tetradic
#251264 #641228 #516412 #12644E
square
#251264 #641228 #516412 #12644E
split-complementary
#251264 #644E12 #286412
monochromatic
#0A051A #120930 #251264 #381B98 #4B25CC

Accessibility & contrast

On white

15.56
#251264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#251264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251264
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251264#FFFFFF#000000##FFFFFF
##2512641.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002666
Deuteranopia (green-blind)
#002163
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #251264;
/* rgb */ color: rgb(37, 18, 100);
/* oklch */ color: oklch(27.4% 0.132 284.1);
Tailwind
colors: {
  custom: {
    50: '#695391',
    500: '#251264',
    950: '#000000',
  },
}
SCSS
$custom: #251264;
$custom-light: #695391;
$custom-dark: #000000;
JSON
{
  "hex": "#251264",
  "rgb": {
    "r": 37,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 253.902,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27422,
    "c": 0.13248,
    "h": 284.1
  },
  "luminance": 0.01746
}

Semantic roles & 50–950 ramp

primary
#251264
secondary
#849C36
accent
#EC3BC3
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #251264

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

Preview Lab → · Contrast checker → · Palette generator →

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