#281343#281343

#281343 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.087 H 300.2°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#281343
RGBrgb(40, 19, 67)
HSLhsl(266, 56%, 17%)
HSVhsv(266, 72%, 26%)
CMYKcmyk(40.3%, 71.6%, 0%, 73.7%)
CIE-LABlab(11.43, 22.53, -26.43)
CIE-LCHlch(11.43, 34.73, 310.45°)
OKLaboklab(24.62% 0.0437 -0.0751)
OKLCHoklch(24.62% 0.087 300.2)
XYZxyz(2.1208, 1.3221, 5.4526)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281343 #2E4313
analogous
#131643 #281343 #401343
triadic
#281343 #432813 #134328
tetradic
#281343 #431316 #2E4313 #134340
square
#281343 #431316 #2E4313 #134340
split-complementary
#281343 #434013 #164313
monochromatic
#0E0718 #0E0718 #281343 #442173 #612EA2

Accessibility & contrast

On white

16.61
#281343 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281343
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281343#FFFFFF#000000##FFFFFF
##2813431.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E44
Deuteranopia (green-blind)
#021E42
Tritanopia (blue-blind)
#221E28
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #281343;
/* rgb */ color: rgb(40, 19, 67);
/* oklch */ color: oklch(24.6% 0.087 300.2);
Tailwind
colors: {
  custom: {
    50: '#655277',
    500: '#281343',
    950: '#000000',
  },
}
SCSS
$custom: #281343;
$custom-light: #655277;
$custom-dark: #000000;
JSON
{
  "hex": "#281343",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 67
  },
  "hsl": {
    "h": 266.25,
    "s": 55.814,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2462,
    "c": 0.08692,
    "h": 300.2
  },
  "luminance": 0.01322
}

Semantic roles & 50–950 ramp

primary
#281343
secondary
#5D7C36
accent
#DF499D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #281343

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

Preview Lab → · Contrast checker → · Palette generator →

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