#281659#281659

#281659 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.2% C 0.113 H 288.9°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#281659
RGBrgb(40, 22, 89)
HSLhsl(256, 60%, 22%)
HSVhsv(256, 75%, 35%)
CMYKcmyk(55.1%, 75.3%, 0%, 65.1%)
CIE-LABlab(14.09, 27.67, -37.22)
CIE-LCHlch(14.09, 46.38, 306.63°)
OKLaboklab(27.16% 0.0366 -0.1069)
OKLCHoklch(27.16% 0.113 288.9)
XYZxyz(2.9646, 1.7461, 9.6301)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281659 #475916
analogous
#162659 #281659 #4A1659
triadic
#281659 #592816 #165928
tetradic
#281659 #591626 #475916 #16594A
square
#281659 #591626 #475916 #16594A
split-complementary
#281659 #594A16 #265916
monochromatic
#0B0619 #120A28 #281659 #3E228A #542EBB

Accessibility & contrast

On white

15.56
#281659 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#281659 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281659
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281659#FFFFFF#000000##FFFFFF
##2816591.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255B
Deuteranopia (green-blind)
#002258
Tritanopia (blue-blind)
#162735
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #281659;
/* rgb */ color: rgb(40, 22, 89);
/* oklch */ color: oklch(27.2% 0.113 288.9);
Tailwind
colors: {
  custom: {
    50: '#685589',
    500: '#281659',
    950: '#000000',
  },
}
SCSS
$custom: #281659;
$custom-light: #685589;
$custom-dark: #000000;
JSON
{
  "hex": "#281659",
  "rgb": {
    "r": 40,
    "g": 22,
    "b": 89
  },
  "hsl": {
    "h": 256.119,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.27155,
    "c": 0.11296,
    "h": 288.9
  },
  "luminance": 0.01746
}

Semantic roles & 50–950 ramp

primary
#281659
secondary
#79903B
accent
#E444B9
background
#F6F5F8
surface
#EBE8F0
border
#C6C4CB
text
#06030B
muted
#7A787C

Preview Lab

Preview with #281659

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

Preview Lab → · Contrast checker → · Palette generator →

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