#251470#251470

#251470 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.146 H 280.7°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#251470
RGBrgb(37, 20, 112)
HSLhsl(251, 70%, 26%)
HSVhsv(251, 82%, 44%)
CMYKcmyk(67%, 82.1%, 0%, 56.1%)
CIE-LABlab(15.82, 35.86, -49.61)
CIE-LCHlch(15.82, 61.22, 305.86°)
OKLaboklab(29.03% 0.0271 -0.1432)
OKLCHoklch(29.03% 0.146 280.7)
XYZxyz(3.9368, 2.0632, 15.5169)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251470 #5F7014
analogous
#143170 #251470 #531470
triadic
#251470 #702514 #147025
tetradic
#251470 #701431 #5F7014 #147053
square
#251470 #701431 #5F7014 #147053
split-complementary
#251470 #705314 #317014
monochromatic
#09051A #140B3C #251470 #361DA4 #4727D8

Accessibility & contrast

On white

14.87
#251470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#251470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251470
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251470#FFFFFF#000000##FFFFFF
##2514701.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B73
Deuteranopia (green-blind)
#00246E
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #251470;
/* rgb */ color: rgb(37, 20, 112);
/* oklch */ color: oklch(29.0% 0.146 280.7);
Tailwind
colors: {
  custom: {
    50: '#6b559a',
    500: '#251470',
    950: '#000000',
  },
}
SCSS
$custom: #251470;
$custom-light: #6b559a;
$custom-dark: #000000;
JSON
{
  "hex": "#251470",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 251.087,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29029,
    "c": 0.14574,
    "h": 280.7
  },
  "luminance": 0.02063
}

Semantic roles & 50–950 ramp

primary
#251470
secondary
#92A639
accent
#ED3BCC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #251470

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

Preview Lab → · Contrast checker → · Palette generator →

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