#281464#281464

#281464 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.0% C 0.130 H 285.9°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#281464
RGBrgb(40, 20, 100)
HSLhsl(255, 67%, 24%)
HSVhsv(255, 80%, 39%)
CMYKcmyk(60%, 80%, 0%, 60.8%)
CIE-LABlab(14.80, 32.40, -43.41)
CIE-LCHlch(14.80, 54.17, 306.74°)
OKLaboklab(27.99% 0.0357 -0.125)
OKLCHoklch(27.99% 0.13 285.9)
XYZxyz(3.4248, 1.8713, 12.2349)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281464 #506414
analogous
#142864 #281464 #501464
triadic
#281464 #642814 #146428
tetradic
#281464 #641428 #506414 #146450
square
#281464 #641428 #506414 #146450
split-complementary
#281464 #645014 #286414
monochromatic
#0A051A #140A31 #281464 #3C1E97 #5128CA

Accessibility & contrast

On white

15.28
#281464 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281464
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281464#FFFFFF#000000##FFFFFF
##2814641.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #281464;
/* rgb */ color: rgb(40, 20, 100);
/* oklch */ color: oklch(28.0% 0.130 285.9);
Tailwind
colors: {
  custom: {
    50: '#6a5491',
    500: '#281464',
    950: '#000000',
  },
}
SCSS
$custom: #281464;
$custom-light: #6a5491;
$custom-dark: #000000;
JSON
{
  "hex": "#281464",
  "rgb": {
    "r": 40,
    "g": 20,
    "b": 100
  },
  "hsl": {
    "h": 255,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27994,
    "c": 0.12997,
    "h": 285.9
  },
  "luminance": 0.01872
}

Semantic roles & 50–950 ramp

primary
#281464
secondary
#839B38
accent
#EA3EBF
background
#F6F4F9
surface
#ECE8F1
border
#C7C4CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281464

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

Preview Lab → · Contrast checker → · Palette generator →

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