#251864#251864

#251864 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.3% C 0.126 H 282.6°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#251864
RGBrgb(37, 24, 100)
HSLhsl(250, 61%, 24%)
HSVhsv(250, 76%, 39%)
CMYKcmyk(63%, 76%, 0%, 60.8%)
CIE-LABlab(15.31, 29.61, -42.58)
CIE-LCHlch(15.31, 51.86, 304.82°)
OKLaboklab(28.28% 0.0275 -0.1227)
OKLCHoklch(28.28% 0.126 282.6)
XYZxyz(3.3891, 1.9665, 12.2551)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251864 #576418
analogous
#183164 #251864 #4B1864
triadic
#251864 #642518 #186425
tetradic
#251864 #641831 #576418 #18644B
square
#251864 #641831 #576418 #18644B
split-complementary
#251864 #644B18 #316418
monochromatic
#090619 #130C33 #251864 #372495 #4A30C7

Accessibility & contrast

On white

15.07
#251864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251864
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251864#FFFFFF#000000##FFFFFF
##2518641.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002463
Tritanopia (blue-blind)
#002D3C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #251864;
/* rgb */ color: rgb(37, 24, 100);
/* oklch */ color: oklch(28.3% 0.126 282.6);
Tailwind
colors: {
  custom: {
    50: '#685691',
    500: '#251864',
    950: '#000000',
  },
}
SCSS
$custom: #251864;
$custom-light: #685691;
$custom-dark: #000000;
JSON
{
  "hex": "#251864",
  "rgb": {
    "r": 37,
    "g": 24,
    "b": 100
  },
  "hsl": {
    "h": 250.263,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28281,
    "c": 0.12573,
    "h": 282.6
  },
  "luminance": 0.01967
}

Semantic roles & 50–950 ramp

primary
#251864
secondary
#8A9A3E
accent
#E443C9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #251864

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

Preview Lab → · Contrast checker → · Palette generator →

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