#281660#281660

#281660 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 27.9% C 0.122 H 286.6°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#281660
RGBrgb(40, 22, 96)
HSLhsl(255, 63%, 23%)
HSVhsv(255, 77%, 38%)
CMYKcmyk(58.3%, 77.1%, 0%, 62.4%)
CIE-LABlab(14.79, 29.97, -40.78)
CIE-LCHlch(14.79, 50.60, 306.31°)
OKLaboklab(27.86% 0.035 -0.1173)
OKLCHoklch(27.86% 0.122 286.6)
XYZxyz(3.2727, 1.8693, 11.2524)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281660 #4E6016
analogous
#162960 #281660 #4D1660
triadic
#281660 #602816 #166028
tetradic
#281660 #601629 #4E6016 #16604D
square
#281660 #601629 #4E6016 #16604D
split-complementary
#281660 #604D16 #296016
monochromatic
#0A0619 #130B2E #281660 #3D2192 #512DC4

Accessibility & contrast

On white

15.29
#281660 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#281660 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281660
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281660#FFFFFF#000000##FFFFFF
##2816601.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002762
Deuteranopia (green-blind)
#00235F
Tritanopia (blue-blind)
#102A39
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #281660;
/* rgb */ color: rgb(40, 22, 96);
/* oklch */ color: oklch(27.9% 0.122 286.6);
Tailwind
colors: {
  custom: {
    50: '#69558e',
    500: '#281660',
    950: '#000000',
  },
}
SCSS
$custom: #281660;
$custom-light: #69558e;
$custom-dark: #000000;
JSON
{
  "hex": "#281660",
  "rgb": {
    "r": 40,
    "g": 22,
    "b": 96
  },
  "hsl": {
    "h": 254.595,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.2786,
    "c": 0.1224,
    "h": 286.6
  },
  "luminance": 0.01869
}

Semantic roles & 50–950 ramp

primary
#281660
secondary
#81973B
accent
#E642BE
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #281660

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

Preview Lab → · Contrast checker → · Palette generator →

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