#281341#281341

#281341 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.084 H 301.4°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#281341
RGBrgb(40, 19, 65)
HSLhsl(267, 55%, 16%)
HSVhsv(267, 71%, 25%)
CMYKcmyk(38.5%, 70.8%, 0%, 74.5%)
CIE-LABlab(11.27, 21.93, -25.28)
CIE-LCHlch(11.27, 33.47, 310.93°)
OKLaboklab(24.45% 0.0439 -0.0718)
OKLCHoklch(24.45% 0.084 301.4)
XYZxyz(2.0619, 1.2985, 5.1420)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281341 #2C4113
analogous
#131541 #281341 #3F1341
triadic
#281341 #412813 #134128
tetradic
#281341 #411315 #2C4113 #13413F
square
#281341 #411315 #2C4113 #13413F
split-complementary
#281341 #413F13 #154113
monochromatic
#0F0718 #0F0718 #281341 #452170 #622FA0

Accessibility & contrast

On white

16.67
#281341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#281341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281341
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281341#FFFFFF#000000##FFFFFF
##2813411.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E42
Deuteranopia (green-blind)
#041E40
Tritanopia (blue-blind)
#231D27
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #281341;
/* rgb */ color: rgb(40, 19, 65);
/* oklch */ color: oklch(24.4% 0.084 301.4);
Tailwind
colors: {
  custom: {
    50: '#645276',
    500: '#281341',
    950: '#000000',
  },
}
SCSS
$custom: #281341;
$custom-light: #645276;
$custom-dark: #000000;
JSON
{
  "hex": "#281341",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 65
  },
  "hsl": {
    "h": 267.391,
    "s": 54.762,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24449,
    "c": 0.08411,
    "h": 301.4
  },
  "luminance": 0.01299
}

Semantic roles & 50–950 ramp

primary
#281341
secondary
#5B7A36
accent
#DE4A9A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #281341

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

Preview Lab → · Contrast checker → · Palette generator →

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