#251668#251668

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

Color values

HEX#251668
RGBrgb(37, 22, 104)
HSLhsl(251, 65%, 25%)
HSVhsv(251, 79%, 41%)
CMYKcmyk(64.4%, 78.8%, 0%, 59.2%)
CIE-LABlab(15.31, 32.14, -45.22)
CIE-LCHlch(15.31, 55.48, 305.41°)
OKLaboklab(28.41% 0.0281 -0.1304)
OKLCHoklch(28.41% 0.133 282.2)
XYZxyz(3.5478, 1.9664, 13.2866)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251668 #596816
analogous
#163068 #251668 #4E1668
triadic
#251668 #682516 #166825
tetradic
#251668 #681630 #596816 #16684E
square
#251668 #681630 #596816 #16684E
split-complementary
#251668 #684E16 #306816
monochromatic
#090519 #130B35 #251668 #37219B #492BCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##251668#FFFFFF#000000##FFFFFF
##2516681.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)
#00296A
Deuteranopia (green-blind)
#002367
Tritanopia (blue-blind)
#002D3E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #251668;
/* rgb */ color: rgb(37, 22, 104);
/* oklch */ color: oklch(28.4% 0.133 282.2);
Tailwind
colors: {
  custom: {
    50: '#695594',
    500: '#251668',
    950: '#000000',
  },
}
SCSS
$custom: #251668;
$custom-light: #695594;
$custom-dark: #000000;
JSON
{
  "hex": "#251668",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 250.976,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28408,
    "c": 0.13338,
    "h": 282.2
  },
  "luminance": 0.01967
}

Semantic roles & 50–950 ramp

primary
#251668
secondary
#8C9F3B
accent
#E840C9
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #251668

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

Preview Lab → · Contrast checker → · Palette generator →

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