#281366#281366

#281366 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.1% C 0.134 H 285.6°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#281366
RGBrgb(40, 19, 102)
HSLhsl(255, 69%, 24%)
HSVhsv(255, 81%, 40%)
CMYKcmyk(60.8%, 81.4%, 0%, 60%)
CIE-LABlab(14.82, 33.58, -44.69)
CIE-LCHlch(14.82, 55.90, 306.92°)
OKLaboklab(28.08% 0.0358 -0.1287)
OKLCHoklch(28.08% 0.134 285.6)
XYZxyz(3.5055, 1.8760, 12.7452)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281366 #516613
analogous
#132766 #281366 #511366
triadic
#281366 #662813 #136628
tetradic
#281366 #661327 #516613 #136651
square
#281366 #661327 #516613 #136651
split-complementary
#281366 #665113 #276613
monochromatic
#0A051A #140932 #281366 #3C1D9A #5026CD

Accessibility & contrast

On white

15.27
#281366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#281366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281366
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281366#FFFFFF#000000##FFFFFF
##2813661.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002768
Deuteranopia (green-blind)
#002364
Tritanopia (blue-blind)
#082B3C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #281366;
/* rgb */ color: rgb(40, 19, 102);
/* oklch */ color: oklch(28.1% 0.134 285.6);
Tailwind
colors: {
  custom: {
    50: '#6b5493',
    500: '#281366',
    950: '#000000',
  },
}
SCSS
$custom: #281366;
$custom-light: #6b5493;
$custom-dark: #000000;
JSON
{
  "hex": "#281366",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 255.181,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28077,
    "c": 0.13362,
    "h": 285.6
  },
  "luminance": 0.01876
}

Semantic roles & 50–950 ramp

primary
#281366
secondary
#849D37
accent
#EB3CBF
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281366

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

Preview Lab → · Contrast checker → · Palette generator →

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