#281471#281471

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

Color values

HEX#281471
RGBrgb(40, 20, 113)
HSLhsl(253, 70%, 26%)
HSVhsv(253, 82%, 44%)
CMYKcmyk(64.6%, 82.3%, 0%, 55.7%)
CIE-LABlab(16.22, 36.53, -49.58)
CIE-LCHlch(16.22, 61.59, 306.39°)
OKLaboklab(29.42% 0.0317 -0.143)
OKLCHoklch(29.42% 0.146 282.5)
XYZxyz(4.1049, 2.1434, 15.8170)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281471 #5D7114
analogous
#142E71 #281471 #561471
triadic
#281471 #712814 #147128
tetradic
#281471 #71142E #5D7114 #147156
square
#281471 #71142E #5D7114 #147156
split-complementary
#281471 #715614 #2E7114
monochromatic
#09051A #160B3D #281471 #3A1DA5 #4D27D9

Accessibility & contrast

On white

14.70
#281471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#281471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281471
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281471#FFFFFF#000000##FFFFFF
##2814711.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #281471;
/* rgb */ color: rgb(40, 20, 113);
/* oklch */ color: oklch(29.4% 0.146 282.5);
Tailwind
colors: {
  custom: {
    50: '#6d559b',
    500: '#281471',
    950: '#000000',
  },
}
SCSS
$custom: #281471;
$custom-light: #6d559b;
$custom-dark: #000000;
JSON
{
  "hex": "#281471",
  "rgb": {
    "r": 40,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 252.903,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29418,
    "c": 0.14646,
    "h": 282.5
  },
  "luminance": 0.02144
}

Semantic roles & 50–950 ramp

primary
#281471
secondary
#90A739
accent
#ED3BC7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #281471

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

Preview Lab → · Contrast checker → · Palette generator →

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