#281573#281573

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

Color values

HEX#281573
RGBrgb(40, 21, 115)
HSLhsl(252, 69%, 27%)
HSVhsv(252, 82%, 45%)
CMYKcmyk(65.2%, 81.7%, 0%, 54.9%)
CIE-LABlab(16.63, 36.66, -50.21)
CIE-LCHlch(16.63, 62.17, 306.13°)
OKLaboklab(29.77% 0.0304 -0.1448)
OKLCHoklch(29.77% 0.148 281.8)
XYZxyz(4.2368, 2.2249, 16.4225)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281573 #607315
analogous
#153173 #281573 #571573
triadic
#281573 #732815 #157328
tetradic
#281573 #731531 #607315 #157357
square
#281573 #731531 #607315 #157357
split-complementary
#281573 #735715 #317315
monochromatic
#09051A #160C3F #281573 #3A1EA7 #4D2AD8

Accessibility & contrast

On white

14.53
#281573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#281573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281573
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281573#FFFFFF#000000##FFFFFF
##2815731.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #281573;
/* rgb */ color: rgb(40, 21, 115);
/* oklch */ color: oklch(29.8% 0.148 281.8);
Tailwind
colors: {
  custom: {
    50: '#6d569c',
    500: '#281573',
    950: '#000000',
  },
}
SCSS
$custom: #281573;
$custom-light: #6d569c;
$custom-dark: #000000;
JSON
{
  "hex": "#281573",
  "rgb": {
    "r": 40,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 252.128,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29766,
    "c": 0.148,
    "h": 281.8
  },
  "luminance": 0.02225
}

Semantic roles & 50–950 ramp

primary
#281573
secondary
#93A93B
accent
#EC3CC8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #281573

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

Preview Lab → · Contrast checker → · Palette generator →

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