#281567#281567

#281567 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.5% C 0.133 H 284.8°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#281567
RGBrgb(40, 21, 103)
HSLhsl(254, 66%, 24%)
HSVhsv(254, 80%, 40%)
CMYKcmyk(61.2%, 79.6%, 0%, 59.6%)
CIE-LABlab(15.31, 32.81, -44.55)
CIE-LCHlch(15.31, 55.33, 306.37°)
OKLaboklab(28.45% 0.034 -0.1283)
OKLCHoklch(28.45% 0.133 284.8)
XYZxyz(3.5907, 1.9665, 13.0197)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281567 #546715
analogous
#152B67 #281567 #511567
triadic
#281567 #672815 #156728
tetradic
#281567 #67152B #546715 #156751
square
#281567 #67152B #546715 #156751
split-complementary
#281567 #675115 #2B6715
monochromatic
#0A0519 #140B34 #281567 #3C1F9A #4F2ACD

Accessibility & contrast

On white

15.07
#281567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#281567 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281567
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281567#FFFFFF#000000##FFFFFF
##2815671.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002969
Deuteranopia (green-blind)
#002465
Tritanopia (blue-blind)
#062C3D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #281567;
/* rgb */ color: rgb(40, 21, 103);
/* oklch */ color: oklch(28.5% 0.133 284.8);
Tailwind
colors: {
  custom: {
    50: '#6b5593',
    500: '#281567',
    950: '#000000',
  },
}
SCSS
$custom: #281567;
$custom-light: #6b5593;
$custom-dark: #000000;
JSON
{
  "hex": "#281567",
  "rgb": {
    "r": 40,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 253.902,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28451,
    "c": 0.13275,
    "h": 284.8
  },
  "luminance": 0.01967
}

Semantic roles & 50–950 ramp

primary
#281567
secondary
#879E3A
accent
#E93FC2
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281567

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

Preview Lab → · Contrast checker → · Palette generator →

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