#281563#281563

#281563 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.0% C 0.128 H 286.0°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#281563
RGBrgb(40, 21, 99)
HSLhsl(255, 65%, 24%)
HSVhsv(255, 79%, 39%)
CMYKcmyk(59.6%, 78.8%, 0%, 61.2%)
CIE-LABlab(14.89, 31.52, -42.60)
CIE-LCHlch(14.89, 52.99, 306.50°)
OKLaboklab(28.03% 0.0351 -0.1226)
OKLCHoklch(28.03% 0.128 286)
XYZxyz(3.3947, 1.8881, 11.9875)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281563 #506315
analogous
#152963 #281563 #4F1563
triadic
#281563 #632815 #156328
tetradic
#281563 #631529 #506315 #15634F
square
#281563 #631529 #506315 #15634F
split-complementary
#281563 #634F15 #296315
monochromatic
#0A0519 #140A31 #281563 #3C2095 #512AC8

Accessibility & contrast

On white

15.24
#281563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#281563 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281563
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281563#FFFFFF#000000##FFFFFF
##2815631.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002765
Deuteranopia (green-blind)
#002362
Tritanopia (blue-blind)
#0C2B3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #281563;
/* rgb */ color: rgb(40, 21, 99);
/* oklch */ color: oklch(28.0% 0.128 286.0);
Tailwind
colors: {
  custom: {
    50: '#6a5590',
    500: '#281563',
    950: '#000000',
  },
}
SCSS
$custom: #281563;
$custom-light: #6a5590;
$custom-dark: #000000;
JSON
{
  "hex": "#281563",
  "rgb": {
    "r": 40,
    "g": 21,
    "b": 99
  },
  "hsl": {
    "h": 254.615,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28027,
    "c": 0.12754,
    "h": 286
  },
  "luminance": 0.01888
}

Semantic roles & 50–950 ramp

primary
#281563
secondary
#839A3A
accent
#E840BF
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030D
muted
#7A787D

Preview Lab

Preview with #281563

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

Preview Lab → · Contrast checker → · Palette generator →

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