#281355#281355

#281355 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.3% C 0.112 H 291.4°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#281355
RGBrgb(40, 19, 85)
HSLhsl(259, 63%, 20%)
HSVhsv(259, 78%, 33%)
CMYKcmyk(52.9%, 77.6%, 0%, 66.7%)
CIE-LABlab(13.06, 28.18, -36.20)
CIE-LCHlch(13.06, 45.88, 307.89°)
OKLaboklab(26.3% 0.0406 -0.1039)
OKLCHoklch(26.3% 0.112 291.4)
XYZxyz(2.7472, 1.5726, 8.7514)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281355 #405513
analogous
#131F55 #281355 #491355
triadic
#281355 #552813 #135528
tetradic
#281355 #55131F #405513 #135549
square
#281355 #55131F #405513 #135549
split-complementary
#281355 #554913 #1F5513
monochromatic
#0C0619 #100823 #281355 #401E87 #5729B9

Accessibility & contrast

On white

15.97
#281355 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#281355 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281355
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281355#FFFFFF#000000##FFFFFF
##2813551.0015.971.3115.97
#FFFFFF15.971.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002357
Deuteranopia (green-blind)
#002054
Tritanopia (blue-blind)
#192432
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #281355;
/* rgb */ color: rgb(40, 19, 85);
/* oklch */ color: oklch(26.3% 0.112 291.4);
Tailwind
colors: {
  custom: {
    50: '#675386',
    500: '#281355',
    950: '#000000',
  },
}
SCSS
$custom: #281355;
$custom-light: #675386;
$custom-dark: #000000;
JSON
{
  "hex": "#281355",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 85
  },
  "hsl": {
    "h": 259.091,
    "s": 63.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.26301,
    "c": 0.11151,
    "h": 291.4
  },
  "luminance": 0.01573
}

Semantic roles & 50–950 ramp

primary
#281355
secondary
#728D36
accent
#E641B2
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #281355

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

Preview Lab → · Contrast checker → · Palette generator →

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