#281760#281760

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

Color values

HEX#281760
RGBrgb(40, 23, 96)
HSLhsl(254, 61%, 23%)
HSVhsv(254, 76%, 38%)
CMYKcmyk(58.3%, 76%, 0%, 62.4%)
CIE-LABlab(15.00, 29.37, -40.43)
CIE-LCHlch(15.00, 49.97, 306.00°)
OKLaboklab(28.01% 0.0341 -0.1163)
OKLCHoklch(28.01% 0.121 286.3)
XYZxyz(3.2922, 1.9083, 11.2589)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281760 #4F6017
analogous
#172A60 #281760 #4C1760
triadic
#281760 #602817 #176028
tetradic
#281760 #60172A #4F6017 #17604C
square
#281760 #60172A #4F6017 #17604C
split-complementary
#281760 #604C17 #2A6017
monochromatic
#0A0619 #130B2F #281760 #3D2391 #512FC3

Accessibility & contrast

On white

15.20
#281760 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#281760 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281760
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281760#FFFFFF#000000##FFFFFF
##2817601.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #281760;
/* rgb */ color: rgb(40, 23, 96);
/* oklch */ color: oklch(28.0% 0.121 286.3);
Tailwind
colors: {
  custom: {
    50: '#69568e',
    500: '#281760',
    950: '#000000',
  },
}
SCSS
$custom: #281760;
$custom-light: #69568e;
$custom-dark: #000000;
JSON
{
  "hex": "#281760",
  "rgb": {
    "r": 40,
    "g": 23,
    "b": 96
  },
  "hsl": {
    "h": 253.973,
    "s": 61.345,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28011,
    "c": 0.12116,
    "h": 286.3
  },
  "luminance": 0.01908
}

Semantic roles & 50–950 ramp

primary
#281760
secondary
#82973C
accent
#E443BF
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #281760

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

Preview Lab → · Contrast checker → · Palette generator →

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