#281583#281583

#281583 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.6% C 0.168 H 278.7°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#281583
RGBrgb(40, 21, 131)
HSLhsl(250, 72%, 30%)
HSVhsv(250, 84%, 51%)
CMYKcmyk(69.5%, 84%, 0%, 48.6%)
CIE-LABlab(18.48, 41.67, -57.38)
CIE-LCHlch(18.48, 70.91, 305.99°)
OKLaboklab(31.6% 0.0253 -0.1657)
OKLCHoklch(31.6% 0.168 278.7)
XYZxyz(5.2387, 2.6257, 21.6991)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281583 #708315
analogous
#153983 #281583 #5F1583
triadic
#281583 #832815 #158328
tetradic
#281583 #831539 #708315 #15835F
square
#281583 #831539 #708315 #15835F
split-complementary
#281583 #835F15 #398315
monochromatic
#08041A #180D4E #281583 #381DB8 #5134DE

Accessibility & contrast

On white

13.77
#281583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#281583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281583
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281583#FFFFFF#000000##FFFFFF
##2815831.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003186
Deuteranopia (green-blind)
#002981
Tritanopia (blue-blind)
#00374D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #281583;
/* rgb */ color: rgb(40, 21, 131);
/* oklch */ color: oklch(31.6% 0.168 278.7);
Tailwind
colors: {
  custom: {
    50: '#7157a8',
    500: '#281583',
    950: '#000000',
  },
}
SCSS
$custom: #281583;
$custom-light: #7157a8;
$custom-dark: #000000;
JSON
{
  "hex": "#281583",
  "rgb": {
    "r": 40,
    "g": 21,
    "b": 131
  },
  "hsl": {
    "h": 250.364,
    "s": 72.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31597,
    "c": 0.16762,
    "h": 278.7
  },
  "luminance": 0.02626
}

Semantic roles & 50–950 ramp

primary
#281583
secondary
#A2B83C
accent
#EF39D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #281583

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

Preview Lab → · Contrast checker → · Palette generator →

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