#281068#281068

#281068 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.9% C 0.139 H 285.6°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#281068
RGBrgb(40, 16, 104)
HSLhsl(256, 73%, 24%)
HSVhsv(256, 85%, 41%)
CMYKcmyk(61.5%, 84.6%, 0%, 59.2%)
CIE-LABlab(14.52, 35.72, -46.51)
CIE-LCHlch(14.52, 58.65, 307.52°)
OKLaboklab(27.93% 0.0373 -0.134)
OKLCHoklch(27.93% 0.139 285.6)
XYZxyz(3.5583, 1.8210, 13.2580)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281068 #506810
analogous
#102468 #281068 #541068
triadic
#281068 #682810 #106828
tetradic
#281068 #681024 #506810 #106854
square
#281068 #681024 #506810 #106854
split-complementary
#281068 #685410 #246810
monochromatic
#0A041B #140833 #281068 #3C189D #5120D2

Accessibility & contrast

On white

15.39
#281068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#281068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281068
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281068#FFFFFF#000000##FFFFFF
##2810681.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276A
Deuteranopia (green-blind)
#002266
Tritanopia (blue-blind)
#052A3C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #281068;
/* rgb */ color: rgb(40, 16, 104);
/* oklch */ color: oklch(27.9% 0.139 285.6);
Tailwind
colors: {
  custom: {
    50: '#6b5294',
    500: '#281068',
    950: '#000000',
  },
}
SCSS
$custom: #281068;
$custom-light: #6b5294;
$custom-dark: #000000;
JSON
{
  "hex": "#281068",
  "rgb": {
    "r": 40,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 256.364,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27932,
    "c": 0.13909,
    "h": 285.6
  },
  "luminance": 0.01821
}

Semantic roles & 50–950 ramp

primary
#281068
secondary
#83A034
accent
#F038BE
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #281068

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

Preview Lab → · Contrast checker → · Palette generator →

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