#281069#281069

#281069 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 28.0% C 0.140 H 285.3°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#281069
RGBrgb(40, 16, 105)
HSLhsl(256, 74%, 24%)
HSVhsv(256, 85%, 41%)
CMYKcmyk(61.9%, 84.8%, 0%, 58.8%)
CIE-LABlab(14.63, 36.03, -46.98)
CIE-LCHlch(14.63, 59.21, 307.48°)
OKLaboklab(28.04% 0.0369 -0.1354)
OKLCHoklch(28.04% 0.14 285.3)
XYZxyz(3.6094, 1.8414, 13.5271)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281069 #516910
analogous
#102469 #281069 #541069
triadic
#281069 #692810 #106928
tetradic
#281069 #691024 #516910 #106954
square
#281069 #691024 #516910 #106954
split-complementary
#281069 #695410 #246910
monochromatic
#0A041B #140834 #281069 #3C189E #5020D3

Accessibility & contrast

On white

15.35
#281069 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#281069 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281069
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281069#FFFFFF#000000##FFFFFF
##2810691.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276B
Deuteranopia (green-blind)
#002267
Tritanopia (blue-blind)
#032B3D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #281069;
/* rgb */ color: rgb(40, 16, 105);
/* oklch */ color: oklch(28.0% 0.140 285.3);
Tailwind
colors: {
  custom: {
    50: '#6c5295',
    500: '#281069',
    950: '#000000',
  },
}
SCSS
$custom: #281069;
$custom-light: #6c5295;
$custom-dark: #000000;
JSON
{
  "hex": "#281069",
  "rgb": {
    "r": 40,
    "g": 16,
    "b": 105
  },
  "hsl": {
    "h": 256.18,
    "s": 73.554,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28044,
    "c": 0.14032,
    "h": 285.3
  },
  "luminance": 0.01842
}

Semantic roles & 50–950 ramp

primary
#281069
secondary
#84A134
accent
#F038BE
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #281069

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

Preview Lab → · Contrast checker → · Palette generator →

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