#251569#251569

#251569 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.136 H 282.1°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#251569
RGBrgb(37, 21, 105)
HSLhsl(251, 67%, 25%)
HSVhsv(251, 80%, 41%)
CMYKcmyk(64.8%, 80%, 0%, 58.8%)
CIE-LABlab(15.22, 33.04, -46.02)
CIE-LCHlch(15.22, 56.66, 305.67°)
OKLaboklab(28.38% 0.0286 -0.1327)
OKLCHoklch(28.38% 0.136 282.1)
XYZxyz(3.5801, 1.9493, 13.5495)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251569 #596915
analogous
#152F69 #251569 #4F1569
triadic
#251569 #692515 #156925
tetradic
#251569 #69152F #596915 #15694F
square
#251569 #69152F #596915 #15694F
split-complementary
#251569 #694F15 #2F6915
monochromatic
#09051A #130B36 #251569 #371F9C #4929CF

Accessibility & contrast

On white

15.11
#251569 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#251569 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251569
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251569#FFFFFF#000000##FFFFFF
##2515691.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296B
Deuteranopia (green-blind)
#002367
Tritanopia (blue-blind)
#002D3E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #251569;
/* rgb */ color: rgb(37, 21, 105);
/* oklch */ color: oklch(28.4% 0.136 282.1);
Tailwind
colors: {
  custom: {
    50: '#6a5595',
    500: '#251569',
    950: '#000000',
  },
}
SCSS
$custom: #251569;
$custom-light: #6a5595;
$custom-dark: #000000;
JSON
{
  "hex": "#251569",
  "rgb": {
    "r": 37,
    "g": 21,
    "b": 105
  },
  "hsl": {
    "h": 251.429,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28377,
    "c": 0.13577,
    "h": 282.1
  },
  "luminance": 0.0195
}

Semantic roles & 50–950 ramp

primary
#251569
secondary
#8CA03A
accent
#EA3EC9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #251569

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

Preview Lab → · Contrast checker → · Palette generator →

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