#281066#281066

#281066 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.7% C 0.137 H 286.2°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#281066
RGBrgb(40, 16, 102)
HSLhsl(257, 73%, 23%)
HSVhsv(257, 84%, 40%)
CMYKcmyk(60.8%, 84.3%, 0%, 60%)
CIE-LABlab(14.29, 35.11, -45.57)
CIE-LCHlch(14.29, 57.52, 307.61°)
OKLaboklab(27.71% 0.038 -0.1312)
OKLCHoklch(27.71% 0.137 286.2)
XYZxyz(3.4579, 1.7808, 12.7293)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281066 #4E6610
analogous
#102366 #281066 #531066
triadic
#281066 #662810 #106628
tetradic
#281066 #661023 #4E6610 #106653
square
#281066 #661023 #4E6610 #106653
split-complementary
#281066 #665310 #236610
monochromatic
#0A041A #130831 #281066 #3D189B #5121D0

Accessibility & contrast

On white

15.48
#281066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #281066
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281066#FFFFFF#000000##FFFFFF
##2810661.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002668
Deuteranopia (green-blind)
#002264
Tritanopia (blue-blind)
#082A3B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #281066;
/* rgb */ color: rgb(40, 16, 102);
/* oklch */ color: oklch(27.7% 0.137 286.2);
Tailwind
colors: {
  custom: {
    50: '#6b5293',
    500: '#281066',
    950: '#000000',
  },
}
SCSS
$custom: #281066;
$custom-light: #6b5293;
$custom-dark: #000000;
JSON
{
  "hex": "#281066",
  "rgb": {
    "r": 40,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 256.744,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27707,
    "c": 0.13663,
    "h": 286.2
  },
  "luminance": 0.01781
}

Semantic roles & 50–950 ramp

primary
#281066
secondary
#819E33
accent
#F038BC
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #281066

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

Preview Lab → · Contrast checker → · Palette generator →

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