#281473#281473

#281473 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.149 H 282.0°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#281473
RGBrgb(40, 20, 115)
HSLhsl(253, 70%, 26%)
HSVhsv(253, 83%, 45%)
CMYKcmyk(65.2%, 82.6%, 0%, 54.9%)
CIE-LABlab(16.45, 37.17, -50.50)
CIE-LCHlch(16.45, 62.70, 306.35°)
OKLaboklab(29.64% 0.031 -0.1457)
OKLCHoklch(29.64% 0.149 282)
XYZxyz(4.2188, 2.1889, 16.4165)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281473 #5F7314
analogous
#143073 #281473 #581473
triadic
#281473 #732814 #147328
tetradic
#281473 #731430 #5F7314 #147358
square
#281473 #731430 #5F7314 #147358
split-complementary
#281473 #735814 #307314
monochromatic
#09051A #160B3F #281473 #3A1DA7 #4D28DA

Accessibility & contrast

On white

14.61
#281473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#281473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281473
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281473#FFFFFF#000000##FFFFFF
##2814731.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C76
Deuteranopia (green-blind)
#002571
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #281473;
/* rgb */ color: rgb(40, 20, 115);
/* oklch */ color: oklch(29.6% 0.149 282.0);
Tailwind
colors: {
  custom: {
    50: '#6d559c',
    500: '#281473',
    950: '#000000',
  },
}
SCSS
$custom: #281473;
$custom-light: #6d559c;
$custom-dark: #000000;
JSON
{
  "hex": "#281473",
  "rgb": {
    "r": 40,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 252.632,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29643,
    "c": 0.14895,
    "h": 282
  },
  "luminance": 0.02189
}

Semantic roles & 50–950 ramp

primary
#281473
secondary
#92A93A
accent
#ED3BC8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #281473

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

Preview Lab → · Contrast checker → · Palette generator →

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