#251064#251064

#251064 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.2% C 0.134 H 284.5°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#251064
RGBrgb(37, 16, 100)
HSLhsl(255, 72%, 23%)
HSVhsv(255, 84%, 39%)
CMYKcmyk(63%, 84%, 0%, 60.8%)
CIE-LABlab(13.73, 34.10, -45.18)
CIE-LCHlch(13.73, 56.60, 307.04°)
OKLaboklab(27.17% 0.0336 -0.1302)
OKLCHoklch(27.17% 0.134 284.5)
XYZxyz(3.2478, 1.6838, 12.2080)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251064 #4F6410
analogous
#102564 #251064 #4F1064
triadic
#251064 #642510 #106425
tetradic
#251064 #641025 #4F6410 #10644F
square
#251064 #641025 #4F6410 #10644F
split-complementary
#251064 #644F10 #256410
monochromatic
#0A041A #11082F #251064 #391899 #4C21CE

Accessibility & contrast

On white

15.71
#251064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251064
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251064#FFFFFF#000000##FFFFFF
##2510641.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002566
Deuteranopia (green-blind)
#002063
Tritanopia (blue-blind)
#00293A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #251064;
/* rgb */ color: rgb(37, 16, 100);
/* oklch */ color: oklch(27.2% 0.134 284.5);
Tailwind
colors: {
  custom: {
    50: '#695291',
    500: '#251064',
    950: '#000000',
  },
}
SCSS
$custom: #251064;
$custom-light: #695291;
$custom-dark: #000000;
JSON
{
  "hex": "#251064",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 100
  },
  "hsl": {
    "h": 255,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27171,
    "c": 0.13448,
    "h": 284.5
  },
  "luminance": 0.01684
}

Semantic roles & 50–950 ramp

primary
#251064
secondary
#829D33
accent
#EF39C2
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #251064

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

Preview Lab → · Contrast checker → · Palette generator →

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