#281049#281049

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

Color values

HEX#281049
RGBrgb(40, 16, 73)
HSLhsl(265, 64%, 17%)
HSVhsv(265, 78%, 29%)
CMYKcmyk(45.2%, 78.1%, 0%, 71.4%)
CIE-LABlab(11.29, 26.19, -30.84)
CIE-LCHlch(11.29, 40.46, 310.33°)
OKLaboklab(24.69% 0.0466 -0.0881)
OKLCHoklch(24.69% 0.1 297.9)
XYZxyz(2.2627, 1.3027, 6.4343)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281049 #314910
analogous
#101549 #281049 #441049
triadic
#281049 #492810 #104928
tetradic
#281049 #491015 #314910 #104944
square
#281049 #491015 #314910 #104944
split-complementary
#281049 #494410 #154910
monochromatic
#0E0619 #0E0619 #281049 #441B7B #5F26AD

Accessibility & contrast

On white

16.66
#281049 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281049
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281049#FFFFFF#000000##FFFFFF
##2810491.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4B
Deuteranopia (green-blind)
#001D48
Tritanopia (blue-blind)
#201E2B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #281049;
/* rgb */ color: rgb(40, 16, 73);
/* oklch */ color: oklch(24.7% 0.100 297.9);
Tailwind
colors: {
  custom: {
    50: '#66507c',
    500: '#281049',
    950: '#000000',
  },
}
SCSS
$custom: #281049;
$custom-light: #66507c;
$custom-dark: #000000;
JSON
{
  "hex": "#281049",
  "rgb": {
    "r": 40,
    "g": 16,
    "b": 73
  },
  "hsl": {
    "h": 265.263,
    "s": 64.045,
    "l": 17.451
  },
  "oklch": {
    "l": 0.2469,
    "c": 0.09967,
    "h": 297.9
  },
  "luminance": 0.01303
}

Semantic roles & 50–950 ramp

primary
#281049
secondary
#618332
accent
#E741A1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060209
muted
#7A787B

Preview Lab

Preview with #281049

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

Preview Lab → · Contrast checker → · Palette generator →

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