#281367#281367

#281367 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.135 H 285.3°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#281367
RGBrgb(40, 19, 103)
HSLhsl(255, 69%, 24%)
HSVhsv(255, 82%, 40%)
CMYKcmyk(61.2%, 81.6%, 0%, 59.6%)
CIE-LABlab(14.93, 33.90, -45.17)
CIE-LCHlch(14.93, 56.48, 306.88°)
OKLaboklab(28.19% 0.0355 -0.1301)
OKLCHoklch(28.19% 0.135 285.3)
XYZxyz(3.5554, 1.8959, 13.0079)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281367 #526713
analogous
#132867 #281367 #521367
triadic
#281367 #672813 #136728
tetradic
#281367 #671328 #526713 #136752
square
#281367 #671328 #526713 #136752
split-complementary
#281367 #675213 #286713
monochromatic
#0A051A #140933 #281367 #3C1D9B #5026CE

Accessibility & contrast

On white

15.23
#281367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281367
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281367#FFFFFF#000000##FFFFFF
##2813671.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002869
Deuteranopia (green-blind)
#002365
Tritanopia (blue-blind)
#062B3C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #281367;
/* rgb */ color: rgb(40, 19, 103);
/* oklch */ color: oklch(28.2% 0.135 285.3);
Tailwind
colors: {
  custom: {
    50: '#6b5493',
    500: '#281367',
    950: '#000000',
  },
}
SCSS
$custom: #281367;
$custom-light: #6b5493;
$custom-dark: #000000;
JSON
{
  "hex": "#281367",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 255,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28186,
    "c": 0.13489,
    "h": 285.3
  },
  "luminance": 0.01896
}

Semantic roles & 50–950 ramp

primary
#281367
secondary
#859E37
accent
#EC3CC0
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281367

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

Preview Lab → · Contrast checker → · Palette generator →

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