#281476#281476

#281476 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.153 H 281.3°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#281476
RGBrgb(40, 20, 118)
HSLhsl(252, 71%, 27%)
HSVhsv(252, 83%, 46%)
CMYKcmyk(66.1%, 83.1%, 0%, 53.7%)
CIE-LABlab(16.79, 38.11, -51.87)
CIE-LCHlch(16.79, 64.36, 306.30°)
OKLaboklab(29.98% 0.03 -0.1497)
OKLCHoklch(29.98% 0.153 281.3)
XYZxyz(4.3942, 2.2591, 17.3405)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281476 #627614
analogous
#143176 #281476 #591476
triadic
#281476 #762814 #147628
tetradic
#281476 #761431 #627614 #147659
square
#281476 #761431 #627614 #147659
split-complementary
#281476 #765914 #317614
monochromatic
#09041A #160B42 #281476 #3A1DAA #4E2ADB

Accessibility & contrast

On white

14.46
#281476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281476
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281476#FFFFFF#000000##FFFFFF
##2814761.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #281476;
/* rgb */ color: rgb(40, 20, 118);
/* oklch */ color: oklch(30.0% 0.153 281.3);
Tailwind
colors: {
  custom: {
    50: '#6e559f',
    500: '#281476',
    950: '#000000',
  },
}
SCSS
$custom: #281476;
$custom-light: #6e559f;
$custom-dark: #000000;
JSON
{
  "hex": "#281476",
  "rgb": {
    "r": 40,
    "g": 20,
    "b": 118
  },
  "hsl": {
    "h": 252.245,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29983,
    "c": 0.15266,
    "h": 281.3
  },
  "luminance": 0.02259
}

Semantic roles & 50–950 ramp

primary
#281476
secondary
#95AC3A
accent
#EE3AC9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #281476

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

Preview Lab → · Contrast checker → · Palette generator →

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