#281A61#281A61

#281A61 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.6% C 0.119 H 285.1°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#281A61
RGBrgb(40, 26, 97)
HSLhsl(252, 58%, 24%)
HSVhsv(252, 73%, 38%)
CMYKcmyk(58.8%, 73.2%, 0%, 62%)
CIE-LABlab(15.76, 27.87, -39.84)
CIE-LCHlch(15.76, 48.62, 304.97°)
OKLaboklab(28.59% 0.031 -0.1146)
OKLCHoklch(28.59% 0.119 285.1)
XYZxyz(3.4015, 2.0528, 11.5239)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281A61 #53611A
analogous
#1A3061 #281A61 #4C1A61
triadic
#281A61 #61281A #1A6128
tetradic
#281A61 #611A30 #53611A #1A614C
square
#281A61 #611A30 #53611A #1A614C
split-complementary
#281A61 #614C1A #30611A
monochromatic
#0A0618 #140D31 #281A61 #3C2791 #5034C2

Accessibility & contrast

On white

14.89
#281A61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#281A61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281A61
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281A61#FFFFFF#000000##FFFFFF
##281A611.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002963
Deuteranopia (green-blind)
#002560
Tritanopia (blue-blind)
#0E2C3B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #281a61;
/* rgb */ color: rgb(40, 26, 97);
/* oklch */ color: oklch(28.6% 0.119 285.1);
Tailwind
colors: {
  custom: {
    50: '#69588f',
    500: '#281a61',
    950: '#000000',
  },
}
SCSS
$custom: #281a61;
$custom-light: #69588f;
$custom-dark: #000000;
JSON
{
  "hex": "#281a61",
  "rgb": {
    "r": 40,
    "g": 26,
    "b": 97
  },
  "hsl": {
    "h": 251.831,
    "s": 57.724,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28586,
    "c": 0.11867,
    "h": 285.1
  },
  "luminance": 0.02053
}

Semantic roles & 50–950 ramp

primary
#281A61
secondary
#869740
accent
#E147C3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #281A61

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

Preview Lab → · Contrast checker → · Palette generator →

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