#281045#281045

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

Color values

HEX#281045
RGBrgb(40, 16, 69)
HSLhsl(267, 62%, 17%)
HSVhsv(267, 77%, 27%)
CMYKcmyk(42%, 76.8%, 0%, 72.9%)
CIE-LABlab(10.93, 24.98, -28.64)
CIE-LCHlch(10.93, 38.00, 311.10°)
OKLaboklab(24.32% 0.0474 -0.0816)
OKLCHoklch(24.32% 0.094 300.2)
XYZxyz(2.1343, 1.2514, 5.7582)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281045 #2D4510
analogous
#101345 #281045 #431045
triadic
#281045 #452810 #104528
tetradic
#281045 #451013 #2D4510 #104543
square
#281045 #451013 #2D4510 #104543
split-complementary
#281045 #454310 #134510
monochromatic
#0E0619 #0E0619 #281045 #451C77 #6227A8

Accessibility & contrast

On white

16.80
#281045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#281045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281045
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281045#FFFFFF#000000##FFFFFF
##2810451.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D47
Deuteranopia (green-blind)
#001D44
Tritanopia (blue-blind)
#221C29
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #281045;
/* rgb */ color: rgb(40, 16, 69);
/* oklch */ color: oklch(24.3% 0.094 300.2);
Tailwind
colors: {
  custom: {
    50: '#655079',
    500: '#281045',
    950: '#000000',
  },
}
SCSS
$custom: #281045;
$custom-light: #655079;
$custom-dark: #000000;
JSON
{
  "hex": "#281045",
  "rgb": {
    "r": 40,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 267.17,
    "s": 62.353,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24316,
    "c": 0.09439,
    "h": 300.2
  },
  "luminance": 0.01251
}

Semantic roles & 50–950 ramp

primary
#281045
secondary
#5C7F32
accent
#E5429C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #281045

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

Preview Lab → · Contrast checker → · Palette generator →

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