#281373#281373

#281373 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.150 H 282.2°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#281373
RGBrgb(40, 19, 115)
HSLhsl(253, 72%, 26%)
HSVhsv(253, 83%, 45%)
CMYKcmyk(65.2%, 83.5%, 0%, 54.9%)
CIE-LABlab(16.28, 37.66, -50.78)
CIE-LCHlch(16.28, 63.23, 306.56°)
OKLaboklab(29.52% 0.0316 -0.1465)
OKLCHoklch(29.52% 0.15 282.2)
XYZxyz(4.2015, 2.1544, 16.4108)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281373 #5E7313
analogous
#132E73 #281373 #581373
triadic
#281373 #732813 #137328
tetradic
#281373 #73132E #5E7313 #137358
square
#281373 #73132E #5E7313 #137358
split-complementary
#281373 #735813 #2E7313
monochromatic
#09041A #160A3E #281373 #3A1CA8 #4D25DB

Accessibility & contrast

On white

14.68
#281373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#281373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281373
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281373#FFFFFF#000000##FFFFFF
##2813731.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B76
Deuteranopia (green-blind)
#002571
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #281373;
/* rgb */ color: rgb(40, 19, 115);
/* oklch */ color: oklch(29.5% 0.150 282.2);
Tailwind
colors: {
  custom: {
    50: '#6d559c',
    500: '#281373',
    950: '#000000',
  },
}
SCSS
$custom: #281373;
$custom-light: #6d559c;
$custom-dark: #000000;
JSON
{
  "hex": "#281373",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 253.125,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29524,
    "c": 0.14987,
    "h": 282.2
  },
  "luminance": 0.02155
}

Semantic roles & 50–950 ramp

primary
#281373
secondary
#91AA38
accent
#EE39C7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #281373

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

Preview Lab → · Contrast checker → · Palette generator →

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