#281960#281960

#281960 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.3% C 0.119 H 285.7°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#281960
RGBrgb(40, 25, 96)
HSLhsl(253, 59%, 24%)
HSVhsv(253, 74%, 38%)
CMYKcmyk(58.3%, 74%, 0%, 62.4%)
CIE-LABlab(15.44, 28.15, -39.71)
CIE-LCHlch(15.44, 48.68, 305.34°)
OKLaboklab(28.33% 0.0321 -0.1142)
OKLCHoklch(28.33% 0.119 285.7)
XYZxyz(3.3334, 1.9907, 11.2727)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281960 #516019
analogous
#192D60 #281960 #4B1960
triadic
#281960 #602819 #196028
tetradic
#281960 #60192D #516019 #19604B
square
#281960 #60192D #516019 #19604B
split-complementary
#281960 #604B19 #2D6019
monochromatic
#0A0618 #140C2F #281960 #3C2691 #5032C1

Accessibility & contrast

On white

15.02
#281960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#281960 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281960
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281960#FFFFFF#000000##FFFFFF
##2819601.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002862
Deuteranopia (green-blind)
#00245F
Tritanopia (blue-blind)
#102B3A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #281960;
/* rgb */ color: rgb(40, 25, 96);
/* oklch */ color: oklch(28.3% 0.119 285.7);
Tailwind
colors: {
  custom: {
    50: '#69578e',
    500: '#281960',
    950: '#000000',
  },
}
SCSS
$custom: #281960;
$custom-light: #69578e;
$custom-dark: #000000;
JSON
{
  "hex": "#281960",
  "rgb": {
    "r": 40,
    "g": 25,
    "b": 96
  },
  "hsl": {
    "h": 252.676,
    "s": 58.678,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28325,
    "c": 0.1186,
    "h": 285.7
  },
  "luminance": 0.01991
}

Semantic roles & 50–950 ramp

primary
#281960
secondary
#84963F
accent
#E246C1
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #281960

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

Preview Lab → · Contrast checker → · Palette generator →

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