#251471#251471

#251471 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.147 H 280.5°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#251471
RGBrgb(37, 20, 113)
HSLhsl(251, 70%, 26%)
HSVhsv(251, 82%, 44%)
CMYKcmyk(67.3%, 82.3%, 0%, 55.7%)
CIE-LABlab(15.93, 36.18, -50.07)
CIE-LCHlch(15.93, 61.78, 305.85°)
OKLaboklab(29.14% 0.0268 -0.1445)
OKLCHoklch(29.14% 0.147 280.5)
XYZxyz(3.9928, 2.0856, 15.8117)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251471 #607114
analogous
#143171 #251471 #531471
triadic
#251471 #712514 #147125
tetradic
#251471 #711431 #607114 #147153
square
#251471 #711431 #607114 #147153
split-complementary
#251471 #715314 #317114
monochromatic
#09051A #140B3D #251471 #361DA5 #4727D9

Accessibility & contrast

On white

14.82
#251471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#251471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251471
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251471#FFFFFF#000000##FFFFFF
##2514711.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00246F
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #251471;
/* rgb */ color: rgb(37, 20, 113);
/* oklch */ color: oklch(29.1% 0.147 280.5);
Tailwind
colors: {
  custom: {
    50: '#6b559b',
    500: '#251471',
    950: '#000000',
  },
}
SCSS
$custom: #251471;
$custom-light: #6b559b;
$custom-dark: #000000;
JSON
{
  "hex": "#251471",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 250.968,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29143,
    "c": 0.147,
    "h": 280.5
  },
  "luminance": 0.02086
}

Semantic roles & 50–950 ramp

primary
#251471
secondary
#93A739
accent
#ED3BCC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #251471

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

Preview Lab → · Contrast checker → · Palette generator →

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