#281569#281569

#281569 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.135 H 284.3°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#281569
RGBrgb(40, 21, 105)
HSLhsl(254, 67%, 25%)
HSVhsv(254, 80%, 41%)
CMYKcmyk(61.9%, 80%, 0%, 58.8%)
CIE-LABlab(15.52, 33.46, -45.51)
CIE-LCHlch(15.52, 56.49, 306.32°)
OKLaboklab(28.67% 0.0334 -0.1311)
OKLCHoklch(28.67% 0.135 284.3)
XYZxyz(3.6923, 2.0071, 13.5547)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281569 #566915
analogous
#152C69 #281569 #521569
triadic
#281569 #692815 #156928
tetradic
#281569 #69152C #566915 #156952
square
#281569 #69152C #566915 #156952
split-complementary
#281569 #695215 #2C6915
monochromatic
#0A051A #150B36 #281569 #3B1F9C #4F29CF

Accessibility & contrast

On white

14.99
#281569 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#281569 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281569
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281569#FFFFFF#000000##FFFFFF
##2815691.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296B
Deuteranopia (green-blind)
#002467
Tritanopia (blue-blind)
#032D3E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #281569;
/* rgb */ color: rgb(40, 21, 105);
/* oklch */ color: oklch(28.7% 0.135 284.3);
Tailwind
colors: {
  custom: {
    50: '#6b5595',
    500: '#281569',
    950: '#000000',
  },
}
SCSS
$custom: #281569;
$custom-light: #6b5595;
$custom-dark: #000000;
JSON
{
  "hex": "#281569",
  "rgb": {
    "r": 40,
    "g": 21,
    "b": 105
  },
  "hsl": {
    "h": 253.571,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28666,
    "c": 0.13532,
    "h": 284.3
  },
  "luminance": 0.02007
}

Semantic roles & 50–950 ramp

primary
#281569
secondary
#89A03A
accent
#EA3EC3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281569

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

Preview Lab → · Contrast checker → · Palette generator →

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