#251667#251667

#251667 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.132 H 282.4°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#251667
RGBrgb(37, 22, 103)
HSLhsl(251, 65%, 25%)
HSVhsv(251, 79%, 40%)
CMYKcmyk(64.1%, 78.6%, 0%, 59.6%)
CIE-LABlab(15.20, 31.81, -44.74)
CIE-LCHlch(15.20, 54.89, 305.41°)
OKLaboklab(28.3% 0.0284 -0.129)
OKLCHoklch(28.3% 0.132 282.4)
XYZxyz(3.4973, 1.9462, 13.0207)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251667 #586716
analogous
#163067 #251667 #4E1667
triadic
#251667 #672516 #166725
tetradic
#251667 #671630 #586716 #16674E
square
#251667 #671630 #586716 #16674E
split-complementary
#251667 #674E16 #306716
monochromatic
#090519 #130B35 #251667 #372199 #492CCC

Accessibility & contrast

On white

15.12
#251667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #251667
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251667#FFFFFF#000000##FFFFFF
##2516671.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002969
Deuteranopia (green-blind)
#002366
Tritanopia (blue-blind)
#002D3D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #251667;
/* rgb */ color: rgb(37, 22, 103);
/* oklch */ color: oklch(28.3% 0.132 282.4);
Tailwind
colors: {
  custom: {
    50: '#695593',
    500: '#251667',
    950: '#000000',
  },
}
SCSS
$custom: #251667;
$custom-light: #695593;
$custom-dark: #000000;
JSON
{
  "hex": "#251667",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 251.111,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.283,
    "c": 0.13206,
    "h": 282.4
  },
  "luminance": 0.01946
}

Semantic roles & 50–950 ramp

primary
#251667
secondary
#8B9E3B
accent
#E840C9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #251667

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

Preview Lab → · Contrast checker → · Palette generator →

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