#281667#281667

#281667 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.132 H 284.6°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#281667
RGBrgb(40, 22, 103)
HSLhsl(253, 65%, 25%)
HSVhsv(253, 79%, 40%)
CMYKcmyk(61.2%, 78.6%, 0%, 59.6%)
CIE-LABlab(15.51, 32.25, -44.22)
CIE-LCHlch(15.51, 54.73, 306.10°)
OKLaboklab(28.59% 0.0332 -0.1274)
OKLCHoklch(28.59% 0.132 284.6)
XYZxyz(3.6094, 2.0040, 13.0259)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281667 #556716
analogous
#162D67 #281667 #511667
triadic
#281667 #672816 #166728
tetradic
#281667 #67162D #556716 #166751
square
#281667 #67162D #556716 #166751
split-complementary
#281667 #675116 #2D6716
monochromatic
#0A0519 #140B35 #281667 #3C2199 #4F2CCC

Accessibility & contrast

On white

14.99
#281667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#281667 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281667
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281667#FFFFFF#000000##FFFFFF
##2816671.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002969
Deuteranopia (green-blind)
#002466
Tritanopia (blue-blind)
#062D3D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #281667;
/* rgb */ color: rgb(40, 22, 103);
/* oklch */ color: oklch(28.6% 0.132 284.6);
Tailwind
colors: {
  custom: {
    50: '#6b5593',
    500: '#281667',
    950: '#000000',
  },
}
SCSS
$custom: #281667;
$custom-light: #6b5593;
$custom-dark: #000000;
JSON
{
  "hex": "#281667",
  "rgb": {
    "r": 40,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 253.333,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.2859,
    "c": 0.13163,
    "h": 284.6
  },
  "luminance": 0.02004
}

Semantic roles & 50–950 ramp

primary
#281667
secondary
#889E3B
accent
#E840C3
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281667

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

Preview Lab → · Contrast checker → · Palette generator →

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