#251167#251167

#251167 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.6% C 0.137 H 283.4°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#251167
RGBrgb(37, 17, 103)
HSLhsl(254, 72%, 24%)
HSVhsv(254, 83%, 40%)
CMYKcmyk(64.1%, 83.5%, 0%, 59.6%)
CIE-LABlab(14.25, 34.54, -46.31)
CIE-LCHlch(14.25, 57.77, 306.71°)
OKLaboklab(27.63% 0.0319 -0.1335)
OKLCHoklch(27.63% 0.137 283.4)
XYZxyz(3.4108, 1.7733, 12.9919)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251167 #536711
analogous
#112867 #251167 #501167
triadic
#251167 #672511 #116725
tetradic
#251167 #671128 #536711 #116750
square
#251167 #671128 #536711 #116750
split-complementary
#251167 #675011 #286711
monochromatic
#09041A #120832 #251167 #381A9C #4B22D0

Accessibility & contrast

On white

15.50
#251167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#251167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251167
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251167#FFFFFF#000000##FFFFFF
##2511671.0015.501.3515.50
#FFFFFF15.501.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002769
Deuteranopia (green-blind)
#002165
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #251167;
/* rgb */ color: rgb(37, 17, 103);
/* oklch */ color: oklch(27.6% 0.137 283.4);
Tailwind
colors: {
  custom: {
    50: '#6a5293',
    500: '#251167',
    950: '#000000',
  },
}
SCSS
$custom: #251167;
$custom-light: #6a5293;
$custom-dark: #000000;
JSON
{
  "hex": "#251167",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 253.953,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27633,
    "c": 0.13728,
    "h": 283.4
  },
  "luminance": 0.01773
}

Semantic roles & 50–950 ramp

primary
#251167
secondary
#869F35
accent
#EE39C4
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #251167

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

Preview Lab → · Contrast checker → · Palette generator →

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