#281969#281969

#281969 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.2% C 0.131 H 283.3°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#281969
RGBrgb(40, 25, 105)
HSLhsl(251, 62%, 25%)
HSVhsv(251, 76%, 41%)
CMYKcmyk(61.9%, 76.2%, 0%, 58.8%)
CIE-LABlab(16.34, 31.17, -44.18)
CIE-LCHlch(16.34, 54.06, 305.20°)
OKLaboklab(29.24% 0.0302 -0.1273)
OKLCHoklch(29.24% 0.131 283.3)
XYZxyz(3.7717, 2.1661, 13.5812)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281969 #5A6919
analogous
#193269 #281969 #501969
triadic
#281969 #692819 #196928
tetradic
#281969 #691932 #5A6919 #196950
square
#281969 #691932 #5A6919 #196950
split-complementary
#281969 #695019 #326919
monochromatic
#090619 #150D38 #281969 #3B259A #4E31CC

Accessibility & contrast

On white

14.65
#281969 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281969
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281969#FFFFFF#000000##FFFFFF
##2819691.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6B
Deuteranopia (green-blind)
#002668
Tritanopia (blue-blind)
#022F3F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #281969;
/* rgb */ color: rgb(40, 25, 105);
/* oklch */ color: oklch(29.2% 0.131 283.3);
Tailwind
colors: {
  custom: {
    50: '#6b5795',
    500: '#281969',
    950: '#000000',
  },
}
SCSS
$custom: #281969;
$custom-light: #6b5795;
$custom-dark: #000000;
JSON
{
  "hex": "#281969",
  "rgb": {
    "r": 40,
    "g": 25,
    "b": 105
  },
  "hsl": {
    "h": 251.25,
    "s": 61.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29239,
    "c": 0.13079,
    "h": 283.3
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#281969
secondary
#8D9F3F
accent
#E543C6
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281969

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

Preview Lab → · Contrast checker → · Palette generator →

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