#281035#281035

#281035 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.0% C 0.073 H 312.0°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#281035
RGBrgb(40, 16, 53)
HSLhsl(279, 54%, 14%)
HSVhsv(279, 70%, 21%)
CMYKcmyk(24.5%, 69.8%, 0%, 79.2%)
CIE-LABlab(9.63, 20.35, -19.31)
CIE-LCHlch(9.63, 28.06, 316.50°)
OKLaboklab(22.97% 0.0488 -0.0542)
OKLCHoklch(22.97% 0.073 312)
XYZxyz(1.7029, 1.0788, 3.4860)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281035 #1D3510
analogous
#151035 #281035 #35102F
triadic
#281035 #352810 #103528
tetradic
#281035 #351510 #1D3510 #102F35
square
#281035 #351510 #1D3510 #102F35
split-complementary
#281035 #2F3510 #103515
monochromatic
#120718 #120718 #281035 #4B1E64 #6F2C93

Accessibility & contrast

On white

17.27
#281035 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#281035 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281035
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281035#FFFFFF#000000##FFFFFF
##2810351.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051A36
Deuteranopia (green-blind)
#0D1B34
Tritanopia (blue-blind)
#271720
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #281035;
/* rgb */ color: rgb(40, 16, 53);
/* oklch */ color: oklch(23.0% 0.073 312.0);
Tailwind
colors: {
  custom: {
    50: '#634f6c',
    500: '#281035',
    950: '#000000',
  },
}
SCSS
$custom: #281035;
$custom-light: #634f6c;
$custom-dark: #000000;
JSON
{
  "hex": "#281035",
  "rgb": {
    "r": 40,
    "g": 16,
    "b": 53
  },
  "hsl": {
    "h": 278.919,
    "s": 53.623,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22965,
    "c": 0.07294,
    "h": 312
  },
  "luminance": 0.01079
}

Semantic roles & 50–950 ramp

primary
#281035
secondary
#476F32
accent
#DD4B7E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#050207
muted
#7A787A

Preview Lab

Preview with #281035

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

Preview Lab → · Contrast checker → · Palette generator →

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