#281335#281335

#281335 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.5% C 0.067 H 310.8°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#281335
RGBrgb(40, 19, 53)
HSLhsl(277, 47%, 14%)
HSVhsv(277, 64%, 21%)
CMYKcmyk(24.5%, 64.2%, 0%, 79.2%)
CIE-LABlab(10.36, 18.40, -18.15)
CIE-LCHlch(10.36, 25.85, 315.40°)
OKLaboklab(23.5% 0.0439 -0.0508)
OKLCHoklch(23.5% 0.067 310.8)
XYZxyz(1.7504, 1.1739, 3.5019)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281335 #203513
analogous
#171335 #281335 #351331
triadic
#281335 #352813 #133528
tetradic
#281335 #351713 #203513 #133135
square
#281335 #351713 #203513 #133135
split-complementary
#281335 #313513 #133517
monochromatic
#110817 #110817 #281335 #4A2362 #6C338F

Accessibility & contrast

On white

17.01
#281335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281335
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281335#FFFFFF#000000##FFFFFF
##2813351.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091B36
Deuteranopia (green-blind)
#101D34
Tritanopia (blue-blind)
#261921
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #281335;
/* rgb */ color: rgb(40, 19, 53);
/* oklch */ color: oklch(23.5% 0.067 310.8);
Tailwind
colors: {
  custom: {
    50: '#63516c',
    500: '#281335',
    950: '#000000',
  },
}
SCSS
$custom: #281335;
$custom-light: #63516c;
$custom-dark: #000000;
JSON
{
  "hex": "#281335",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 53
  },
  "hsl": {
    "h": 277.059,
    "s": 47.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23501,
    "c": 0.06715,
    "h": 310.8
  },
  "luminance": 0.01174
}

Semantic roles & 50–950 ramp

primary
#281335
secondary
#4C6D37
accent
#D75184
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050207
muted
#79787A

Preview Lab

Preview with #281335

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

Preview Lab → · Contrast checker → · Palette generator →

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