#281967#281967

#281967 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.128 H 283.8°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#281967
RGBrgb(40, 25, 103)
HSLhsl(252, 61%, 25%)
HSVhsv(252, 76%, 40%)
CMYKcmyk(61.2%, 75.7%, 0%, 59.6%)
CIE-LABlab(16.13, 30.50, -43.20)
CIE-LCHlch(16.13, 52.88, 305.22°)
OKLaboklab(29.03% 0.0307 -0.1244)
OKLCHoklch(29.03% 0.128 283.8)
XYZxyz(3.6701, 2.1254, 13.0462)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281967 #586719
analogous
#193167 #281967 #4F1967
triadic
#281967 #672819 #196728
tetradic
#281967 #671931 #586719 #19674F
square
#281967 #671931 #586719 #19674F
split-complementary
#281967 #674F19 #316719
monochromatic
#0A0619 #150D36 #281967 #3B2598 #4E31C9

Accessibility & contrast

On white

14.73
#281967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#281967 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281967
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281967#FFFFFF#000000##FFFFFF
##2819671.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A69
Deuteranopia (green-blind)
#002566
Tritanopia (blue-blind)
#052E3E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #281967;
/* rgb */ color: rgb(40, 25, 103);
/* oklch */ color: oklch(29.0% 0.128 283.8);
Tailwind
colors: {
  custom: {
    50: '#6a5793',
    500: '#281967',
    950: '#000000',
  },
}
SCSS
$custom: #281967;
$custom-light: #6a5793;
$custom-dark: #000000;
JSON
{
  "hex": "#281967",
  "rgb": {
    "r": 40,
    "g": 25,
    "b": 103
  },
  "hsl": {
    "h": 251.538,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29032,
    "c": 0.12812,
    "h": 283.8
  },
  "luminance": 0.02126
}

Semantic roles & 50–950 ramp

primary
#281967
secondary
#8B9D3F
accent
#E444C5
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281967

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

Preview Lab → · Contrast checker → · Palette generator →

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