#281346#281346

#281346 is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.9% C 0.091 H 298.4°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#281346
RGBrgb(40, 19, 70)
HSLhsl(265, 57%, 17%)
HSVhsv(265, 73%, 27%)
CMYKcmyk(42.9%, 72.9%, 0%, 72.5%)
CIE-LABlab(11.68, 23.46, -28.12)
CIE-LCHlch(11.68, 36.62, 309.84°)
OKLaboklab(24.88% 0.0434 -0.0801)
OKLCHoklch(24.88% 0.091 298.4)
XYZxyz(2.2132, 1.3590, 5.9389)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281346 #314613
analogous
#131846 #281346 #421346
triadic
#281346 #462813 #134628
tetradic
#281346 #461318 #314613 #134642
square
#281346 #461318 #314613 #134642
split-complementary
#281346 #464213 #184613
monochromatic
#0E0718 #0E0718 #281346 #442076 #5F2DA6

Accessibility & contrast

On white

16.51
#281346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281346
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281346#FFFFFF#000000##FFFFFF
##2813461.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F48
Deuteranopia (green-blind)
#001E45
Tritanopia (blue-blind)
#211F2A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #281346;
/* rgb */ color: rgb(40, 19, 70);
/* oklch */ color: oklch(24.9% 0.091 298.4);
Tailwind
colors: {
  custom: {
    50: '#65527a',
    500: '#281346',
    950: '#000000',
  },
}
SCSS
$custom: #281346;
$custom-light: #65527a;
$custom-dark: #000000;
JSON
{
  "hex": "#281346",
  "rgb": {
    "r": 40,
    "g": 19,
    "b": 70
  },
  "hsl": {
    "h": 264.706,
    "s": 57.303,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24883,
    "c": 0.09111,
    "h": 298.4
  },
  "luminance": 0.01359
}

Semantic roles & 50–950 ramp

primary
#281346
secondary
#617F36
accent
#E147A1
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #281346

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

Preview Lab → · Contrast checker → · Palette generator →

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