#281480#281480

#281480 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.165 H 279.3°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#281480
RGBrgb(40, 20, 128)
HSLhsl(251, 73%, 29%)
HSVhsv(251, 84%, 50%)
CMYKcmyk(68.8%, 84.4%, 0%, 49.8%)
CIE-LABlab(17.96, 41.21, -56.33)
CIE-LCHlch(17.96, 69.80, 306.19°)
OKLaboklab(31.14% 0.0267 -0.1626)
OKLCHoklch(31.14% 0.165 279.3)
XYZxyz(5.0203, 2.5095, 20.6377)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281480 #6C8014
analogous
#143680 #281480 #5E1480
triadic
#281480 #802814 #148028
tetradic
#281480 #801436 #6C8014 #14805E
square
#281480 #801436 #6C8014 #14805E
split-complementary
#281480 #805E14 #368014
monochromatic
#08041A #170C4B #281480 #391CB5 #5030DF

Accessibility & contrast

On white

13.98
#281480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#281480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281480
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281480#FFFFFF#000000##FFFFFF
##2814801.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003083
Deuteranopia (green-blind)
#00287E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #281480;
/* rgb */ color: rgb(40, 20, 128);
/* oklch */ color: oklch(31.1% 0.165 279.3);
Tailwind
colors: {
  custom: {
    50: '#7056a6',
    500: '#281480',
    950: '#000000',
  },
}
SCSS
$custom: #281480;
$custom-light: #7056a6;
$custom-dark: #000000;
JSON
{
  "hex": "#281480",
  "rgb": {
    "r": 40,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 251.111,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31137,
    "c": 0.16483,
    "h": 279.3
  },
  "luminance": 0.0251
}

Semantic roles & 50–950 ramp

primary
#281480
secondary
#9EB53B
accent
#F038CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #281480

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

Preview Lab → · Contrast checker → · Palette generator →

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