#281968#281968

#281968 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.129 H 283.6°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#281968
RGBrgb(40, 25, 104)
HSLhsl(251, 61%, 25%)
HSVhsv(251, 76%, 41%)
CMYKcmyk(61.5%, 76%, 0%, 59.2%)
CIE-LABlab(16.23, 30.83, -43.69)
CIE-LCHlch(16.23, 53.47, 305.21°)
OKLaboklab(29.14% 0.0304 -0.1258)
OKLCHoklch(29.14% 0.129 283.6)
XYZxyz(3.7206, 2.1456, 13.3121)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281968 #596819
analogous
#193268 #281968 #4F1968
triadic
#281968 #682819 #196828
tetradic
#281968 #681932 #596819 #19684F
square
#281968 #681932 #596819 #19684F
split-complementary
#281968 #684F19 #326819
monochromatic
#090619 #150D37 #281968 #3B2599 #4E31CB

Accessibility & contrast

On white

14.69
#281968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281968
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281968#FFFFFF#000000##FFFFFF
##2819681.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6A
Deuteranopia (green-blind)
#002667
Tritanopia (blue-blind)
#042E3E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #281968;
/* rgb */ color: rgb(40, 25, 104);
/* oklch */ color: oklch(29.1% 0.129 283.6);
Tailwind
colors: {
  custom: {
    50: '#6a5794',
    500: '#281968',
    950: '#000000',
  },
}
SCSS
$custom: #281968;
$custom-light: #6a5794;
$custom-dark: #000000;
JSON
{
  "hex": "#281968",
  "rgb": {
    "r": 40,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 251.392,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.29135,
    "c": 0.12945,
    "h": 283.6
  },
  "luminance": 0.02146
}

Semantic roles & 50–950 ramp

primary
#281968
secondary
#8C9E3F
accent
#E443C6
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281968

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

Preview Lab → · Contrast checker → · Palette generator →

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