#281169#281169

#281169 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.139 H 285.1°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#281169
RGBrgb(40, 17, 105)
HSLhsl(256, 72%, 24%)
HSVhsv(256, 84%, 41%)
CMYKcmyk(61.9%, 83.8%, 0%, 58.8%)
CIE-LABlab(14.80, 35.54, -46.71)
CIE-LCHlch(14.80, 58.69, 307.27°)
OKLaboklab(28.16% 0.0363 -0.1346)
OKLCHoklch(28.16% 0.139 285.1)
XYZxyz(3.6245, 1.8717, 13.5321)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281169 #526911
analogous
#112669 #281169 #541169
triadic
#281169 #692811 #116928
tetradic
#281169 #691126 #526911 #116954
square
#281169 #691126 #526911 #116954
split-complementary
#281169 #695411 #266911
monochromatic
#0A041A #140834 #281169 #3C1A9E #5022D2

Accessibility & contrast

On white

15.28
#281169 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#281169 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281169
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281169#FFFFFF#000000##FFFFFF
##2811691.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286B
Deuteranopia (green-blind)
#002367
Tritanopia (blue-blind)
#032B3D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #281169;
/* rgb */ color: rgb(40, 17, 105);
/* oklch */ color: oklch(28.2% 0.139 285.1);
Tailwind
colors: {
  custom: {
    50: '#6b5395',
    500: '#281169',
    950: '#000000',
  },
}
SCSS
$custom: #281169;
$custom-light: #6b5395;
$custom-dark: #000000;
JSON
{
  "hex": "#281169",
  "rgb": {
    "r": 40,
    "g": 17,
    "b": 105
  },
  "hsl": {
    "h": 255.682,
    "s": 72.131,
    "l": 23.922
  },
  "oklch": {
    "l": 0.2816,
    "c": 0.13938,
    "h": 285.1
  },
  "luminance": 0.01872
}

Semantic roles & 50–950 ramp

primary
#281169
secondary
#85A135
accent
#EF39BF
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #281169

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

Preview Lab → · Contrast checker → · Palette generator →

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