#281479#281479

#281479 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.3% C 0.156 H 280.7°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#281479
RGBrgb(40, 20, 121)
HSLhsl(252, 72%, 28%)
HSVhsv(252, 83%, 47%)
CMYKcmyk(66.9%, 83.5%, 0%, 52.5%)
CIE-LABlab(17.14, 39.05, -53.23)
CIE-LCHlch(17.14, 66.01, 306.26°)
OKLaboklab(30.33% 0.029 -0.1536)
OKLCHoklch(30.33% 0.156 280.7)
XYZxyz(4.5753, 2.3315, 18.2944)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281479 #657914
analogous
#143379 #281479 #5A1479
triadic
#281479 #792814 #147928
tetradic
#281479 #791433 #657914 #14795A
square
#281479 #791433 #657914 #14795A
split-complementary
#281479 #795A14 #337914
monochromatic
#09041A #170B44 #281479 #391DAE #4E2BDC

Accessibility & contrast

On white

14.32
#281479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#281479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281479
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281479#FFFFFF#000000##FFFFFF
##2814791.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002677
Tritanopia (blue-blind)
#003347
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #281479;
/* rgb */ color: rgb(40, 20, 121);
/* oklch */ color: oklch(30.3% 0.156 280.7);
Tailwind
colors: {
  custom: {
    50: '#6f55a1',
    500: '#281479',
    950: '#000000',
  },
}
SCSS
$custom: #281479;
$custom-light: #6f55a1;
$custom-dark: #000000;
JSON
{
  "hex": "#281479",
  "rgb": {
    "r": 40,
    "g": 20,
    "b": 121
  },
  "hsl": {
    "h": 251.881,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30326,
    "c": 0.15634,
    "h": 280.7
  },
  "luminance": 0.02332
}

Semantic roles & 50–950 ramp

primary
#281479
secondary
#98AF3A
accent
#EE39CB
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #281479

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

Preview Lab → · Contrast checker → · Palette generator →

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