#281B65#281B65

#281B65 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.1% C 0.123 H 283.8°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#281B65
RGBrgb(40, 27, 101)
HSLhsl(251, 58%, 25%)
HSVhsv(251, 73%, 40%)
CMYKcmyk(60.4%, 73.3%, 0%, 60.4%)
CIE-LABlab(16.38, 28.60, -41.48)
CIE-LCHlch(16.38, 50.38, 304.58°)
OKLaboklab(29.15% 0.0292 -0.1194)
OKLCHoklch(29.15% 0.123 283.8)
XYZxyz(3.6152, 2.1743, 12.5386)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281B65 #58651B
analogous
#1B3365 #281B65 #4D1B65
triadic
#281B65 #65281B #1B6528
tetradic
#281B65 #651B33 #58651B #1B654D
square
#281B65 #651B33 #58651B #1B654D
split-complementary
#281B65 #654D1B #33651B
monochromatic
#0A0618 #150E35 #281B65 #3B2895 #4E35C6

Accessibility & contrast

On white

14.63
#281B65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#281B65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281B65
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281B65#FFFFFF#000000##FFFFFF
##281B651.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002664
Tritanopia (blue-blind)
#082E3D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #281b65;
/* rgb */ color: rgb(40, 27, 101);
/* oklch */ color: oklch(29.1% 0.123 283.8);
Tailwind
colors: {
  custom: {
    50: '#6a5892',
    500: '#281b65',
    950: '#000000',
  },
}
SCSS
$custom: #281b65;
$custom-light: #6a5892;
$custom-dark: #000000;
JSON
{
  "hex": "#281b65",
  "rgb": {
    "r": 40,
    "g": 27,
    "b": 101
  },
  "hsl": {
    "h": 250.541,
    "s": 57.813,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29146,
    "c": 0.1229,
    "h": 283.8
  },
  "luminance": 0.02175
}

Semantic roles & 50–950 ramp

primary
#281B65
secondary
#8B9A41
accent
#E147C6
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #281B65

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

Preview Lab → · Contrast checker → · Palette generator →

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