#281059#281059

#281059 is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.3% C 0.120 H 290.6°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#281059
RGBrgb(40, 16, 89)
HSLhsl(260, 70%, 21%)
HSVhsv(260, 82%, 35%)
CMYKcmyk(55.1%, 82%, 0%, 65.1%)
CIE-LABlab(12.88, 31.10, -39.22)
CIE-LCHlch(12.88, 50.05, 308.42°)
OKLaboklab(26.3% 0.0424 -0.1127)
OKLCHoklch(26.3% 0.12 290.6)
XYZxyz(2.8630, 1.5428, 9.5962)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281059 #415910
analogous
#101C59 #281059 #4C1059
triadic
#281059 #592810 #105928
tetradic
#281059 #59101C #415910 #10594C
square
#281059 #59101C #415910 #10594C
split-complementary
#281059 #594C10 #1C5910
monochromatic
#0C051A #110725 #281059 #3F198D #5723C1

Accessibility & contrast

On white

16.05
#281059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#281059 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281059
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281059#FFFFFF#000000##FFFFFF
##2810591.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235B
Deuteranopia (green-blind)
#002058
Tritanopia (blue-blind)
#172434
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #281059;
/* rgb */ color: rgb(40, 16, 89);
/* oklch */ color: oklch(26.3% 0.120 290.6);
Tailwind
colors: {
  custom: {
    50: '#685189',
    500: '#281059',
    950: '#000000',
  },
}
SCSS
$custom: #281059;
$custom-light: #685189;
$custom-dark: #000000;
JSON
{
  "hex": "#281059",
  "rgb": {
    "r": 40,
    "g": 16,
    "b": 89
  },
  "hsl": {
    "h": 259.726,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.26295,
    "c": 0.12037,
    "h": 290.6
  },
  "luminance": 0.01543
}

Semantic roles & 50–950 ramp

primary
#281059
secondary
#739233
accent
#EC3BB2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020B
muted
#7A787C

Preview Lab

Preview with #281059

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

Preview Lab → · Contrast checker → · Palette generator →

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