#281676#281676

#281676 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.151 H 281.0°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#281676
RGBrgb(40, 22, 118)
HSLhsl(251, 69%, 27%)
HSVhsv(251, 81%, 46%)
CMYKcmyk(66.1%, 81.4%, 0%, 53.7%)
CIE-LABlab(17.14, 37.09, -51.29)
CIE-LCHlch(17.14, 63.30, 305.87°)
OKLaboklab(30.23% 0.0288 -0.148)
OKLCHoklch(30.23% 0.151 281)
XYZxyz(4.4310, 2.3326, 17.3528)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281676 #647616
analogous
#163476 #281676 #581676
triadic
#281676 #762816 #167628
tetradic
#281676 #761634 #647616 #167658
square
#281676 #761634 #647616 #167658
split-complementary
#281676 #765816 #347616
monochromatic
#09051A #170C42 #281676 #3920AA #4E2ED8

Accessibility & contrast

On white

14.32
#281676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#281676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281676
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281676#FFFFFF#000000##FFFFFF
##2816761.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002774
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #281676;
/* rgb */ color: rgb(40, 22, 118);
/* oklch */ color: oklch(30.2% 0.151 281.0);
Tailwind
colors: {
  custom: {
    50: '#6e569f',
    500: '#281676',
    950: '#000000',
  },
}
SCSS
$custom: #281676;
$custom-light: #6e569f;
$custom-dark: #000000;
JSON
{
  "hex": "#281676",
  "rgb": {
    "r": 40,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 251.25,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30228,
    "c": 0.15079,
    "h": 281
  },
  "luminance": 0.02333
}

Semantic roles & 50–950 ramp

primary
#281676
secondary
#97AC3C
accent
#EB3CCB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #281676

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

Preview Lab → · Contrast checker → · Palette generator →

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