#281344#281344

#281344 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.088 H 299.6°. Best body text is #FFFFFF at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#281344
RGBrgb(40, 19, 68)
HSLhsl(266, 56%, 17%)
HSVhsv(266, 72%, 27%)
CMYKcmyk(41.2%, 72.1%, 0%, 73.3%)
CIE-LABlab(11.51, 22.84, -26.99)
CIE-LCHlch(11.51, 35.36, 310.24°)
OKLaboklab(24.71% 0.0436 -0.0768)
OKLCHoklch(24.71% 0.088 299.6)
XYZxyz(2.1511, 1.3342, 5.6119)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281344 #2F4413
analogous
#131744 #281344 #411344
triadic
#281344 #442813 #134428
tetradic
#281344 #441317 #2F4413 #134441
square
#281344 #441317 #2F4413 #134441
split-complementary
#281344 #444113 #174413
monochromatic
#0E0718 #0E0718 #281344 #442074 #602EA4

Accessibility & contrast

On white

16.58
#281344 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#281344 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281344
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281344#FFFFFF#000000##FFFFFF
##2813441.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E46
Deuteranopia (green-blind)
#011E43
Tritanopia (blue-blind)
#221E29
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #281344;
/* rgb */ color: rgb(40, 19, 68);
/* oklch */ color: oklch(24.7% 0.088 299.6);
Tailwind
colors: {
  custom: {
    50: '#655278',
    500: '#281344',
    950: '#000000',
  },
}
SCSS
$custom: #281344;
$custom-light: #655278;
$custom-dark: #000000;
JSON
{
  "hex": "#281344",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 68
  },
  "hsl": {
    "h": 265.714,
    "s": 56.322,
    "l": 17.059
  },
  "oklch": {
    "l": 0.24707,
    "c": 0.08832,
    "h": 299.6
  },
  "luminance": 0.01334
}

Semantic roles & 50–950 ramp

primary
#281344
secondary
#5E7D36
accent
#E0489F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #281344

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

Preview Lab → · Contrast checker → · Palette generator →

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