#281472#281472

#281472 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.148 H 282.2°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#281472
RGBrgb(40, 20, 114)
HSLhsl(253, 70%, 26%)
HSVhsv(253, 82%, 45%)
CMYKcmyk(64.9%, 82.5%, 0%, 55.3%)
CIE-LABlab(16.34, 36.85, -50.04)
CIE-LCHlch(16.34, 62.15, 306.37°)
OKLaboklab(29.53% 0.0313 -0.1443)
OKLCHoklch(29.53% 0.148 282.2)
XYZxyz(4.1615, 2.1660, 16.1151)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281472 #5E7214
analogous
#142F72 #281472 #571472
triadic
#281472 #722814 #147228
tetradic
#281472 #72142F #5E7214 #147257
square
#281472 #72142F #5E7214 #147257
split-complementary
#281472 #725714 #2F7214
monochromatic
#09051A #160B3E #281472 #3A1DA6 #4D27D9

Accessibility & contrast

On white

14.65
#281472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281472
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281472#FFFFFF#000000##FFFFFF
##2814721.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B75
Deuteranopia (green-blind)
#002570
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #281472;
/* rgb */ color: rgb(40, 20, 114);
/* oklch */ color: oklch(29.5% 0.148 282.2);
Tailwind
colors: {
  custom: {
    50: '#6d559c',
    500: '#281472',
    950: '#000000',
  },
}
SCSS
$custom: #281472;
$custom-light: #6d559c;
$custom-dark: #000000;
JSON
{
  "hex": "#281472",
  "rgb": {
    "r": 40,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 252.766,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29531,
    "c": 0.14771,
    "h": 282.2
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#281472
secondary
#91A839
accent
#ED3BC7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #281472

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

Preview Lab → · Contrast checker → · Palette generator →

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