#251663#251663

#251663 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 27.9% C 0.127 H 283.4°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#251663
RGBrgb(37, 22, 99)
HSLhsl(252, 64%, 24%)
HSVhsv(252, 78%, 39%)
CMYKcmyk(62.6%, 77.8%, 0%, 61.2%)
CIE-LABlab(14.78, 30.47, -42.79)
CIE-LCHlch(14.78, 52.54, 305.46°)
OKLaboklab(27.87% 0.0294 -0.1233)
OKLCHoklch(27.87% 0.127 283.4)
XYZxyz(3.3013, 1.8678, 11.9885)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251663 #546316
analogous
#162D63 #251663 #4B1663
triadic
#251663 #632516 #166325
tetradic
#251663 #63162D #546316 #16634B
square
#251663 #63162D #546316 #16634B
split-complementary
#251663 #634B16 #2D6316
monochromatic
#090619 #120B31 #251663 #382195 #4A2CC7

Accessibility & contrast

On white

15.29
#251663 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#251663 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251663
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251663#FFFFFF#000000##FFFFFF
##2516631.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002865
Deuteranopia (green-blind)
#002362
Tritanopia (blue-blind)
#012B3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #251663;
/* rgb */ color: rgb(37, 22, 99);
/* oklch */ color: oklch(27.9% 0.127 283.4);
Tailwind
colors: {
  custom: {
    50: '#685590',
    500: '#251663',
    950: '#000000',
  },
}
SCSS
$custom: #251663;
$custom-light: #685590;
$custom-dark: #000000;
JSON
{
  "hex": "#251663",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 99
  },
  "hsl": {
    "h": 251.688,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27871,
    "c": 0.12675,
    "h": 283.4
  },
  "luminance": 0.01868
}

Semantic roles & 50–950 ramp

primary
#251663
secondary
#879A3B
accent
#E741C6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030D
muted
#7A787D

Preview Lab

Preview with #251663

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

Preview Lab → · Contrast checker → · Palette generator →

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