#281333#281333

#281333 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.4% C 0.064 H 312.7°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#281333
RGBrgb(40, 19, 51)
HSLhsl(279, 46%, 14%)
HSVhsv(279, 63%, 20%)
CMYKcmyk(21.6%, 62.7%, 0%, 80%)
CIE-LABlab(10.23, 17.85, -16.91)
CIE-LCHlch(10.23, 24.59, 316.54°)
OKLaboklab(23.36% 0.0437 -0.0472)
OKLCHoklch(23.36% 0.064 312.7)
XYZxyz(1.7054, 1.1559, 3.2646)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281333 #1E3313
analogous
#181333 #281333 #33132E
triadic
#281333 #332813 #133328
tetradic
#281333 #331813 #1E3313 #132E33
square
#281333 #331813 #1E3313 #132E33
split-complementary
#281333 #2E3313 #133318
monochromatic
#110816 #110816 #281333 #4B2460 #6E348C

Accessibility & contrast

On white

17.06
#281333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#281333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281333
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281333#FFFFFF#000000##FFFFFF
##2813331.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1B34
Deuteranopia (green-blind)
#121C32
Tritanopia (blue-blind)
#271820
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #281333;
/* rgb */ color: rgb(40, 19, 51);
/* oklch */ color: oklch(23.4% 0.064 312.7);
Tailwind
colors: {
  custom: {
    50: '#63516b',
    500: '#281333',
    950: '#000000',
  },
}
SCSS
$custom: #281333;
$custom-light: #63516b;
$custom-dark: #000000;
JSON
{
  "hex": "#281333",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 51
  },
  "hsl": {
    "h": 279.375,
    "s": 45.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.23358,
    "c": 0.06433,
    "h": 312.7
  },
  "luminance": 0.01156
}

Semantic roles & 50–950 ramp

primary
#281333
secondary
#496B37
accent
#D5527F
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050206
muted
#79787A

Preview Lab

Preview with #281333

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

Preview Lab → · Contrast checker → · Palette generator →

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