#251665#251665

#251665 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.1% C 0.129 H 282.9°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#251665
RGBrgb(37, 22, 101)
HSLhsl(251, 64%, 24%)
HSVhsv(251, 78%, 40%)
CMYKcmyk(63.4%, 78.2%, 0%, 60.4%)
CIE-LABlab(14.99, 31.14, -43.77)
CIE-LCHlch(14.99, 53.72, 305.43°)
OKLaboklab(28.08% 0.0289 -0.1262)
OKLCHoklch(28.08% 0.129 282.9)
XYZxyz(3.3981, 1.9065, 12.4983)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251665 #566516
analogous
#162F65 #251665 #4D1665
triadic
#251665 #652516 #166525
tetradic
#251665 #65162F #566516 #16654D
square
#251665 #65162F #566516 #16654D
split-complementary
#251665 #654D16 #2F6516
monochromatic
#090519 #130B33 #251665 #372197 #4A2CCA

Accessibility & contrast

On white

15.20
#251665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#251665 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251665
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251665#FFFFFF#000000##FFFFFF
##2516651.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002867
Deuteranopia (green-blind)
#002364
Tritanopia (blue-blind)
#002C3C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #251665;
/* rgb */ color: rgb(37, 22, 101);
/* oklch */ color: oklch(28.1% 0.129 282.9);
Tailwind
colors: {
  custom: {
    50: '#695592',
    500: '#251665',
    950: '#000000',
  },
}
SCSS
$custom: #251665;
$custom-light: #695592;
$custom-dark: #000000;
JSON
{
  "hex": "#251665",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 101
  },
  "hsl": {
    "h": 251.392,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28085,
    "c": 0.12941,
    "h": 282.9
  },
  "luminance": 0.01907
}

Semantic roles & 50–950 ramp

primary
#251665
secondary
#899C3B
accent
#E741C8
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #251665

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

Preview Lab → · Contrast checker → · Palette generator →

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