#281364#281364

#281364 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.9% C 0.131 H 286.1°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#281364
RGBrgb(40, 19, 100)
HSLhsl(256, 68%, 23%)
HSVhsv(256, 81%, 39%)
CMYKcmyk(60%, 81%, 0%, 60.8%)
CIE-LABlab(14.61, 32.94, -43.73)
CIE-LCHlch(14.61, 54.75, 306.99°)
OKLaboklab(27.86% 0.0365 -0.1259)
OKLCHoklch(27.86% 0.131 286.1)
XYZxyz(3.4075, 1.8368, 12.2291)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281364 #4F6413
analogous
#132664 #281364 #501364
triadic
#281364 #642813 #136428
tetradic
#281364 #641326 #4F6413 #136450
square
#281364 #641326 #4F6413 #136450
split-complementary
#281364 #645013 #266413
monochromatic
#0A051A #130931 #281364 #3D1D97 #5127CB

Accessibility & contrast

On white

15.36
#281364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281364
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281364#FFFFFF#000000##FFFFFF
##2813641.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002766
Deuteranopia (green-blind)
#002263
Tritanopia (blue-blind)
#0B2A3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #281364;
/* rgb */ color: rgb(40, 19, 100);
/* oklch */ color: oklch(27.9% 0.131 286.1);
Tailwind
colors: {
  custom: {
    50: '#6a5391',
    500: '#281364',
    950: '#000000',
  },
}
SCSS
$custom: #281364;
$custom-light: #6a5391;
$custom-dark: #000000;
JSON
{
  "hex": "#281364",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 100
  },
  "hsl": {
    "h": 255.556,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.2786,
    "c": 0.13107,
    "h": 286.1
  },
  "luminance": 0.01837
}

Semantic roles & 50–950 ramp

primary
#281364
secondary
#829C37
accent
#EB3DBE
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281364

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

Preview Lab → · Contrast checker → · Palette generator →

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