#281576#281576

#281576 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.152 H 281.2°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#281576
RGBrgb(40, 21, 118)
HSLhsl(252, 70%, 27%)
HSVhsv(252, 82%, 46%)
CMYKcmyk(66.1%, 82.2%, 0%, 53.7%)
CIE-LABlab(16.97, 37.61, -51.58)
CIE-LCHlch(16.97, 63.84, 306.09°)
OKLaboklab(30.1% 0.0294 -0.1489)
OKLCHoklch(30.1% 0.152 281.2)
XYZxyz(4.4122, 2.2951, 17.3465)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281576 #637615
analogous
#153276 #281576 #591576
triadic
#281576 #762815 #157628
tetradic
#281576 #761532 #637615 #157659
square
#281576 #761532 #637615 #157659
split-complementary
#281576 #765915 #327615
monochromatic
#09051A #160C42 #281576 #3A1EAA #4E2CD9

Accessibility & contrast

On white

14.39
#281576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#281576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281576
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281576#FFFFFF#000000##FFFFFF
##2815761.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002674
Tritanopia (blue-blind)
#003245
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #281576;
/* rgb */ color: rgb(40, 21, 118);
/* oklch */ color: oklch(30.1% 0.152 281.2);
Tailwind
colors: {
  custom: {
    50: '#6e569f',
    500: '#281576',
    950: '#000000',
  },
}
SCSS
$custom: #281576;
$custom-light: #6e569f;
$custom-dark: #000000;
JSON
{
  "hex": "#281576",
  "rgb": {
    "r": 40,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 251.753,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30104,
    "c": 0.15174,
    "h": 281.2
  },
  "luminance": 0.02295
}

Semantic roles & 50–950 ramp

primary
#281576
secondary
#96AC3B
accent
#ED3BCA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #281576

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

Preview Lab → · Contrast checker → · Palette generator →

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