#281669#281669

#281669 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.8% C 0.134 H 284.1°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#281669
RGBrgb(40, 22, 105)
HSLhsl(253, 65%, 25%)
HSVhsv(253, 79%, 41%)
CMYKcmyk(61.9%, 79%, 0%, 58.8%)
CIE-LABlab(15.72, 32.90, -45.19)
CIE-LCHlch(15.72, 55.90, 306.06°)
OKLaboklab(28.8% 0.0326 -0.1302)
OKLCHoklch(28.8% 0.134 284.1)
XYZxyz(3.7110, 2.0446, 13.5610)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281669 #576916
analogous
#162E69 #281669 #511669
triadic
#281669 #692816 #166928
tetradic
#281669 #69162E #576916 #166951
square
#281669 #69162E #576916 #166951
split-complementary
#281669 #695116 #2E6916
monochromatic
#0A0519 #150B36 #281669 #3B219C #4F2BCE

Accessibility & contrast

On white

14.90
#281669 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281669
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281669#FFFFFF#000000##FFFFFF
##2816691.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6B
Deuteranopia (green-blind)
#002467
Tritanopia (blue-blind)
#032D3E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #281669;
/* rgb */ color: rgb(40, 22, 105);
/* oklch */ color: oklch(28.8% 0.134 284.1);
Tailwind
colors: {
  custom: {
    50: '#6b5695',
    500: '#281669',
    950: '#000000',
  },
}
SCSS
$custom: #281669;
$custom-light: #6b5695;
$custom-dark: #000000;
JSON
{
  "hex": "#281669",
  "rgb": {
    "r": 40,
    "g": 22,
    "b": 105
  },
  "hsl": {
    "h": 253.012,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28803,
    "c": 0.13423,
    "h": 284.1
  },
  "luminance": 0.02045
}

Semantic roles & 50–950 ramp

primary
#281669
secondary
#8A9F3B
accent
#E83FC4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281669

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

Preview Lab → · Contrast checker → · Palette generator →

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