#281058#281058

#281058 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.2% C 0.119 H 291.0°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#281058
RGBrgb(40, 16, 88)
HSLhsl(260, 69%, 20%)
HSVhsv(260, 82%, 35%)
CMYKcmyk(54.5%, 81.8%, 0%, 65.5%)
CIE-LABlab(12.77, 30.79, -38.71)
CIE-LCHlch(12.77, 49.46, 308.50°)
OKLaboklab(26.19% 0.0427 -0.1112)
OKLCHoklch(26.19% 0.119 291)
XYZxyz(2.8213, 1.5262, 9.3765)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281058 #405810
analogous
#101C58 #281058 #4C1058
triadic
#281058 #582810 #105828
tetradic
#281058 #58101C #405810 #10584C
square
#281058 #58101C #405810 #10584C
split-complementary
#281058 #584C10 #1C5810
monochromatic
#0C051A #100724 #281058 #40198C #5723C0

Accessibility & contrast

On white

16.09
#281058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281058
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281058#FFFFFF#000000##FFFFFF
##2810581.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225A
Deuteranopia (green-blind)
#001F57
Tritanopia (blue-blind)
#172433
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #281058;
/* rgb */ color: rgb(40, 16, 88);
/* oklch */ color: oklch(26.2% 0.119 291.0);
Tailwind
colors: {
  custom: {
    50: '#685188',
    500: '#281058',
    950: '#000000',
  },
}
SCSS
$custom: #281058;
$custom-light: #685188;
$custom-dark: #000000;
JSON
{
  "hex": "#281058",
  "rgb": {
    "r": 40,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 260,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.2619,
    "c": 0.1191,
    "h": 291
  },
  "luminance": 0.01526
}

Semantic roles & 50–950 ramp

primary
#281058
secondary
#729132
accent
#EC3CB1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020B
muted
#7A787C

Preview Lab

Preview with #281058

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

Preview Lab → · Contrast checker → · Palette generator →

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