#281055#281055

#281055 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.115 H 292.2°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#281055
RGBrgb(40, 16, 85)
HSLhsl(261, 68%, 20%)
HSVhsv(261, 81%, 33%)
CMYKcmyk(52.9%, 81.2%, 0%, 66.7%)
CIE-LABlab(12.46, 29.86, -37.18)
CIE-LCHlch(12.46, 47.69, 308.77°)
OKLaboklab(25.88% 0.0436 -0.1067)
OKLCHoklch(25.88% 0.115 292.2)
XYZxyz(2.6996, 1.4775, 8.7355)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281055 #3D5510
analogous
#101A55 #281055 #4B1055
triadic
#281055 #552810 #105528
tetradic
#281055 #55101A #3D5510 #10554B
square
#281055 #55101A #3D5510 #10554B
split-complementary
#281055 #554B10 #1A5510
monochromatic
#0C051A #100621 #281055 #401A89 #5823BC

Accessibility & contrast

On white

16.21
#281055 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#281055 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281055
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281055#FFFFFF#000000##FFFFFF
##2810551.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002157
Deuteranopia (green-blind)
#001F54
Tritanopia (blue-blind)
#192331
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #281055;
/* rgb */ color: rgb(40, 16, 85);
/* oklch */ color: oklch(25.9% 0.115 292.2);
Tailwind
colors: {
  custom: {
    50: '#685186',
    500: '#281055',
    950: '#000000',
  },
}
SCSS
$custom: #281055;
$custom-light: #685186;
$custom-dark: #000000;
JSON
{
  "hex": "#281055",
  "rgb": {
    "r": 40,
    "g": 16,
    "b": 85
  },
  "hsl": {
    "h": 260.87,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25879,
    "c": 0.11526,
    "h": 292.2
  },
  "luminance": 0.01478
}

Semantic roles & 50–950 ramp

primary
#281055
secondary
#6E8F32
accent
#EB3DAE
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #281055

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

Preview Lab → · Contrast checker → · Palette generator →

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