#281073#281073

#281073 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.152 H 282.6°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#281073
RGBrgb(40, 16, 115)
HSLhsl(255, 76%, 26%)
HSVhsv(255, 86%, 45%)
CMYKcmyk(65.2%, 86.1%, 0%, 54.9%)
CIE-LABlab(15.79, 39.07, -51.58)
CIE-LCHlch(15.79, 64.71, 307.14°)
OKLaboklab(29.19% 0.0333 -0.1488)
OKLCHoklch(29.19% 0.152 282.6)
XYZxyz(4.1539, 2.0592, 16.3949)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281073 #5B7310
analogous
#102A73 #281073 #591073
triadic
#281073 #732810 #107328
tetradic
#281073 #73102A #5B7310 #107359
square
#281073 #73102A #5B7310 #107359
split-complementary
#281073 #735910 #2A7310
monochromatic
#09041B #15093D #281073 #3B17A9 #4D1FDE

Accessibility & contrast

On white

14.87
#281073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#281073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281073
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281073#FFFFFF#000000##FFFFFF
##2810731.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A76
Deuteranopia (green-blind)
#002471
Tritanopia (blue-blind)
#002F43
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #281073;
/* rgb */ color: rgb(40, 16, 115);
/* oklch */ color: oklch(29.2% 0.152 282.6);
Tailwind
colors: {
  custom: {
    50: '#6e539c',
    500: '#281073',
    950: '#000000',
  },
}
SCSS
$custom: #281073;
$custom-light: #6e539c;
$custom-dark: #000000;
JSON
{
  "hex": "#281073",
  "rgb": {
    "r": 40,
    "g": 16,
    "b": 115
  },
  "hsl": {
    "h": 254.545,
    "s": 75.573,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29191,
    "c": 0.15246,
    "h": 282.6
  },
  "luminance": 0.0206
}

Semantic roles & 50–950 ramp

primary
#281073
secondary
#8EAA34
accent
#F236C4
background
#F7F4F9
surface
#EDE7F2
border
#C8C3CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #281073

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

Preview Lab → · Contrast checker → · Palette generator →

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