#281356#281356

#281356 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.4% C 0.113 H 291.0°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#281356
RGBrgb(40, 19, 86)
HSLhsl(259, 64%, 21%)
HSVhsv(259, 78%, 34%)
CMYKcmyk(53.5%, 77.9%, 0%, 66.3%)
CIE-LABlab(13.16, 28.49, -36.72)
CIE-LCHlch(13.16, 46.48, 307.81°)
OKLaboklab(26.4% 0.0403 -0.1054)
OKLCHoklch(26.4% 0.113 291)
XYZxyz(2.7872, 1.5886, 8.9621)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281356 #415613
analogous
#131F56 #281356 #491356
triadic
#281356 #562813 #135628
tetradic
#281356 #56131F #415613 #135649
square
#281356 #56131F #415613 #135649
split-complementary
#281356 #564913 #1F5613
monochromatic
#0C0619 #110824 #281356 #3F1E88 #5729BA

Accessibility & contrast

On white

15.94
#281356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#281356 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281356
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281356#FFFFFF#000000##FFFFFF
##2813561.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002358
Deuteranopia (green-blind)
#002055
Tritanopia (blue-blind)
#192533
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #281356;
/* rgb */ color: rgb(40, 19, 86);
/* oklch */ color: oklch(26.4% 0.113 291.0);
Tailwind
colors: {
  custom: {
    50: '#685386',
    500: '#281356',
    950: '#000000',
  },
}
SCSS
$custom: #281356;
$custom-light: #685386;
$custom-dark: #000000;
JSON
{
  "hex": "#281356",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 86
  },
  "hsl": {
    "h": 258.806,
    "s": 63.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.26401,
    "c": 0.11284,
    "h": 291
  },
  "luminance": 0.01589
}

Semantic roles & 50–950 ramp

primary
#281356
secondary
#738E36
accent
#E741B3
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #281356

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

Preview Lab → · Contrast checker → · Palette generator →

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