#281353#281353

#281353 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.1% C 0.109 H 292.2°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#281353
RGBrgb(40, 19, 83)
HSLhsl(260, 63%, 20%)
HSVhsv(260, 77%, 33%)
CMYKcmyk(51.8%, 77.1%, 0%, 67.5%)
CIE-LABlab(12.87, 27.54, -35.16)
CIE-LCHlch(12.87, 44.66, 308.07°)
OKLaboklab(26.1% 0.0411 -0.1008)
OKLCHoklch(26.1% 0.109 292.2)
XYZxyz(2.6688, 1.5413, 8.3388)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281353 #3E5313
analogous
#131E53 #281353 #481353
triadic
#281353 #532813 #135328
tetradic
#281353 #53131E #3E5313 #135348
square
#281353 #53131E #3E5313 #135348
split-complementary
#281353 #534813 #1E5313
monochromatic
#0C0619 #100821 #281353 #401E85 #582AB7

Accessibility & contrast

On white

16.05
#281353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281353
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281353#FFFFFF#000000##FFFFFF
##2813531.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002255
Deuteranopia (green-blind)
#002052
Tritanopia (blue-blind)
#1B2331
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #281353;
/* rgb */ color: rgb(40, 19, 83);
/* oklch */ color: oklch(26.1% 0.109 292.2);
Tailwind
colors: {
  custom: {
    50: '#675384',
    500: '#281353',
    950: '#000000',
  },
}
SCSS
$custom: #281353;
$custom-light: #675384;
$custom-dark: #000000;
JSON
{
  "hex": "#281353",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 83
  },
  "hsl": {
    "h": 259.688,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.26103,
    "c": 0.10884,
    "h": 292.2
  },
  "luminance": 0.01541
}

Semantic roles & 50–950 ramp

primary
#281353
secondary
#708B36
accent
#E642B0
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #281353

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

Preview Lab → · Contrast checker → · Palette generator →

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