#281359#281359

#281359 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.7% C 0.117 H 289.8°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#281359
RGBrgb(40, 19, 89)
HSLhsl(258, 65%, 21%)
HSVhsv(258, 79%, 35%)
CMYKcmyk(55.1%, 78.7%, 0%, 65.1%)
CIE-LABlab(13.46, 29.45, -38.26)
CIE-LCHlch(13.46, 48.28, 307.58°)
OKLaboklab(26.71% 0.0396 -0.1099)
OKLCHoklch(26.71% 0.117 289.8)
XYZxyz(2.9106, 1.6380, 9.6121)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281359 #445913
analogous
#132159 #281359 #4B1359
triadic
#281359 #592813 #135928
tetradic
#281359 #591321 #445913 #13594B
square
#281359 #591321 #445913 #13594B
split-complementary
#281359 #594B13 #215913
monochromatic
#0B0519 #110827 #281359 #3F1E8B #5529BE

Accessibility & contrast

On white

15.82
#281359 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#281359 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281359
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281359#FFFFFF#000000##FFFFFF
##2813591.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245B
Deuteranopia (green-blind)
#002158
Tritanopia (blue-blind)
#162634
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #281359;
/* rgb */ color: rgb(40, 19, 89);
/* oklch */ color: oklch(26.7% 0.117 289.8);
Tailwind
colors: {
  custom: {
    50: '#685389',
    500: '#281359',
    950: '#000000',
  },
}
SCSS
$custom: #281359;
$custom-light: #685389;
$custom-dark: #000000;
JSON
{
  "hex": "#281359",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 89
  },
  "hsl": {
    "h": 258,
    "s": 64.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26705,
    "c": 0.1168,
    "h": 289.8
  },
  "luminance": 0.01638
}

Semantic roles & 50–950 ramp

primary
#281359
secondary
#769137
accent
#E840B5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020B
muted
#7A787C

Preview Lab

Preview with #281359

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

Preview Lab → · Contrast checker → · Palette generator →

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