#281B69#281B69

#281B69 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.5% C 0.128 H 282.8°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#281B69
RGBrgb(40, 27, 105)
HSLhsl(250, 59%, 26%)
HSVhsv(250, 74%, 41%)
CMYKcmyk(61.9%, 74.3%, 0%, 58.8%)
CIE-LABlab(16.77, 29.96, -43.46)
CIE-LCHlch(16.77, 52.79, 304.58°)
OKLaboklab(29.55% 0.0285 -0.1252)
OKLCHoklch(29.55% 0.128 282.8)
XYZxyz(3.8160, 2.2547, 13.5960)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281B69 #5C691B
analogous
#1B3569 #281B69 #4F1B69
triadic
#281B69 #69281B #1B6928
tetradic
#281B69 #691B35 #5C691B #1B694F
square
#281B69 #691B35 #5C691B #1B694F
split-complementary
#281B69 #694F1B #35691B
monochromatic
#090618 #150E38 #281B69 #3B289A #4D34CA

Accessibility & contrast

On white

14.47
#281B69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#281B69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281B69
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281B69#FFFFFF#000000##FFFFFF
##281B691.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6B
Deuteranopia (green-blind)
#002768
Tritanopia (blue-blind)
#023040
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #281b69;
/* rgb */ color: rgb(40, 27, 105);
/* oklch */ color: oklch(29.5% 0.128 282.8);
Tailwind
colors: {
  custom: {
    50: '#6b5995',
    500: '#281b69',
    950: '#000000',
  },
}
SCSS
$custom: #281b69;
$custom-light: #6b5995;
$custom-dark: #000000;
JSON
{
  "hex": "#281b69",
  "rgb": {
    "r": 40,
    "g": 27,
    "b": 105
  },
  "hsl": {
    "h": 250,
    "s": 59.091,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29548,
    "c": 0.12837,
    "h": 282.8
  },
  "luminance": 0.02255
}

Semantic roles & 50–950 ramp

primary
#281B69
secondary
#8F9E42
accent
#E246C8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281B69

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

Preview Lab → · Contrast checker → · Palette generator →

#281B69 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva