#251364#251364

#251364 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.6% C 0.131 H 283.9°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#251364
RGBrgb(37, 19, 100)
HSLhsl(253, 68%, 23%)
HSVhsv(253, 81%, 39%)
CMYKcmyk(63%, 81%, 0%, 60.8%)
CIE-LABlab(14.28, 32.52, -44.27)
CIE-LCHlch(14.28, 54.93, 306.30°)
OKLaboklab(27.56% 0.0315 -0.1276)
OKLCHoklch(27.56% 0.131 283.9)
XYZxyz(3.2954, 1.7789, 12.2238)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251364 #526413
analogous
#132964 #251364 #4D1364
triadic
#251364 #642513 #136425
tetradic
#251364 #641329 #526413 #13644D
square
#251364 #641329 #526413 #13644D
split-complementary
#251364 #644D13 #296413
monochromatic
#0A051A #120931 #251364 #381D97 #4B27CB

Accessibility & contrast

On white

15.49
#251364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#251364 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251364
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251364#FFFFFF#000000##FFFFFF
##2513641.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002766
Deuteranopia (green-blind)
#002263
Tritanopia (blue-blind)
#002A3B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #251364;
/* rgb */ color: rgb(37, 19, 100);
/* oklch */ color: oklch(27.6% 0.131 283.9);
Tailwind
colors: {
  custom: {
    50: '#695391',
    500: '#251364',
    950: '#000000',
  },
}
SCSS
$custom: #251364;
$custom-light: #695391;
$custom-dark: #000000;
JSON
{
  "hex": "#251364",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 100
  },
  "hsl": {
    "h": 253.333,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.27555,
    "c": 0.13143,
    "h": 283.9
  },
  "luminance": 0.01779
}

Semantic roles & 50–950 ramp

primary
#251364
secondary
#859C37
accent
#EB3DC4
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #251364

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

Preview Lab → · Contrast checker → · Palette generator →

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