#281376#281376

#281376 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.9% C 0.154 H 281.5°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#281376
RGBrgb(40, 19, 118)
HSLhsl(253, 72%, 27%)
HSVhsv(253, 84%, 46%)
CMYKcmyk(66.1%, 83.9%, 0%, 53.7%)
CIE-LABlab(16.62, 38.60, -52.15)
CIE-LCHlch(16.62, 64.88, 306.51°)
OKLaboklab(29.87% 0.0306 -0.1505)
OKLCHoklch(29.87% 0.154 281.5)
XYZxyz(4.3769, 2.2245, 17.3348)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281376 #617613
analogous
#133076 #281376 #5A1376
triadic
#281376 #762813 #137628
tetradic
#281376 #761330 #617613 #13765A
square
#281376 #761330 #617613 #13765A
split-complementary
#281376 #765A13 #307613
monochromatic
#09041A #160B41 #281376 #3A1BAB #4E27DC

Accessibility & contrast

On white

14.53
#281376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#281376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281376
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281376#FFFFFF#000000##FFFFFF
##2813761.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C79
Deuteranopia (green-blind)
#002574
Tritanopia (blue-blind)
#003145
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #281376;
/* rgb */ color: rgb(40, 19, 118);
/* oklch */ color: oklch(29.9% 0.154 281.5);
Tailwind
colors: {
  custom: {
    50: '#6e559f',
    500: '#281376',
    950: '#000000',
  },
}
SCSS
$custom: #281376;
$custom-light: #6e559f;
$custom-dark: #000000;
JSON
{
  "hex": "#281376",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 118
  },
  "hsl": {
    "h": 252.727,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29867,
    "c": 0.15355,
    "h": 281.5
  },
  "luminance": 0.02225
}

Semantic roles & 50–950 ramp

primary
#281376
secondary
#94AC39
accent
#EF39C8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #281376

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

Preview Lab → · Contrast checker → · Palette generator →

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