#281368#281368

#281368 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.136 H 285.0°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#281368
RGBrgb(40, 19, 104)
HSLhsl(255, 69%, 24%)
HSVhsv(255, 82%, 41%)
CMYKcmyk(61.5%, 81.7%, 0%, 59.2%)
CIE-LABlab(15.04, 34.21, -45.65)
CIE-LCHlch(15.04, 57.05, 306.85°)
OKLaboklab(28.3% 0.0352 -0.1315)
OKLCHoklch(28.3% 0.136 285)
XYZxyz(3.6059, 1.9161, 13.2739)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281368 #536813
analogous
#132868 #281368 #531368
triadic
#281368 #682813 #136828
tetradic
#281368 #681328 #536813 #136853
square
#281368 #681328 #536813 #136853
split-complementary
#281368 #685313 #286813
monochromatic
#0A051A #140A34 #281368 #3C1C9C #5026CF

Accessibility & contrast

On white

15.18
#281368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281368
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281368#FFFFFF#000000##FFFFFF
##2813681.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286A
Deuteranopia (green-blind)
#002366
Tritanopia (blue-blind)
#052C3D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #281368;
/* rgb */ color: rgb(40, 19, 104);
/* oklch */ color: oklch(28.3% 0.136 285.0);
Tailwind
colors: {
  custom: {
    50: '#6b5494',
    500: '#281368',
    950: '#000000',
  },
}
SCSS
$custom: #281368;
$custom-light: #6b5494;
$custom-dark: #000000;
JSON
{
  "hex": "#281368",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 254.824,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28295,
    "c": 0.13615,
    "h": 285
  },
  "luminance": 0.01916
}

Semantic roles & 50–950 ramp

primary
#281368
secondary
#869F37
accent
#EC3CC0
background
#F6F4F9
surface
#ECE8F1
border
#C7C4CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281368

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

Preview Lab → · Contrast checker → · Palette generator →

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