#281A69#281A69

#281A69 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.130 H 283.1°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#281A69
RGBrgb(40, 26, 105)
HSLhsl(251, 60%, 26%)
HSVhsv(251, 75%, 41%)
CMYKcmyk(61.9%, 75.2%, 0%, 58.8%)
CIE-LABlab(16.55, 30.57, -43.82)
CIE-LCHlch(16.55, 53.43, 304.89°)
OKLaboklab(29.39% 0.0293 -0.1262)
OKLCHoklch(29.39% 0.13 283.1)
XYZxyz(3.7935, 2.2096, 13.5885)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281A69 #5B691A
analogous
#1A3369 #281A69 #4F1A69
triadic
#281A69 #69281A #1A6928
tetradic
#281A69 #691A33 #5B691A #1A694F
square
#281A69 #691A33 #5B691A #1A694F
split-complementary
#281A69 #694F1A #33691A
monochromatic
#090619 #150E38 #281A69 #3B269A #4D32CB

Accessibility & contrast

On white

14.56
#281A69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#281A69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281A69
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281A69#FFFFFF#000000##FFFFFF
##281A691.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #281a69;
/* rgb */ color: rgb(40, 26, 105);
/* oklch */ color: oklch(29.4% 0.130 283.1);
Tailwind
colors: {
  custom: {
    50: '#6b5895',
    500: '#281a69',
    950: '#000000',
  },
}
SCSS
$custom: #281a69;
$custom-light: #6b5895;
$custom-dark: #000000;
JSON
{
  "hex": "#281a69",
  "rgb": {
    "r": 40,
    "g": 26,
    "b": 105
  },
  "hsl": {
    "h": 250.633,
    "s": 60.305,
    "l": 25.686
  },
  "oklch": {
    "l": 0.29392,
    "c": 0.1296,
    "h": 283.1
  },
  "luminance": 0.0221
}

Semantic roles & 50–950 ramp

primary
#281A69
secondary
#8E9E40
accent
#E344C7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281A69

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

Preview Lab → · Contrast checker → · Palette generator →

#281A69 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva