#281249#281249

#281249 is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 25.0% C 0.097 H 297.2°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#281249
RGBrgb(40, 18, 73)
HSLhsl(264, 60%, 18%)
HSVhsv(264, 75%, 29%)
CMYKcmyk(45.2%, 75.3%, 0%, 71.4%)
CIE-LABlab(11.72, 25.00, -30.15)
CIE-LCHlch(11.72, 39.17, 309.67°)
OKLaboklab(24.99% 0.0442 -0.0861)
OKLCHoklch(24.99% 0.097 297.2)
XYZxyz(2.2937, 1.3647, 6.4446)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281249 #334912
analogous
#121749 #281249 #431249
triadic
#281249 #492812 #124928
tetradic
#281249 #491217 #334912 #124943
square
#281249 #491217 #334912 #124943
split-complementary
#281249 #494312 #174912
monochromatic
#0D0619 #0D0619 #281249 #431E7A #5E2AAB

Accessibility & contrast

On white

16.50
#281249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281249
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281249#FFFFFF#000000##FFFFFF
##2812491.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4B
Deuteranopia (green-blind)
#001E48
Tritanopia (blue-blind)
#201F2B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #281249;
/* rgb */ color: rgb(40, 18, 73);
/* oklch */ color: oklch(25.0% 0.097 297.2);
Tailwind
colors: {
  custom: {
    50: '#65517c',
    500: '#281249',
    950: '#000000',
  },
}
SCSS
$custom: #281249;
$custom-light: #65517c;
$custom-dark: #000000;
JSON
{
  "hex": "#281249",
  "rgb": {
    "r": 40,
    "g": 18,
    "b": 73
  },
  "hsl": {
    "h": 264,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24994,
    "c": 0.09677,
    "h": 297.2
  },
  "luminance": 0.01365
}

Semantic roles & 50–950 ramp

primary
#281249
secondary
#638235
accent
#E444A4
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #281249

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

Preview Lab → · Contrast checker → · Palette generator →

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