#281C61#281C61

#281C61 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.9% C 0.116 H 284.4°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#281C61
RGBrgb(40, 28, 97)
HSLhsl(250, 55%, 25%)
HSVhsv(250, 71%, 38%)
CMYKcmyk(58.8%, 71.1%, 0%, 62%)
CIE-LABlab(16.23, 26.59, -39.08)
CIE-LCHlch(16.23, 47.27, 304.23°)
OKLaboklab(28.92% 0.0289 -0.1123)
OKLCHoklch(28.92% 0.116 284.4)
XYZxyz(3.4473, 2.1445, 11.5392)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281C61 #55611C
analogous
#1C3361 #281C61 #4B1C61
triadic
#281C61 #61281C #1C6128
tetradic
#281C61 #611C33 #55611C #1C614B
square
#281C61 #611C33 #55611C #1C614B
split-complementary
#281C61 #614B1C #33611C
monochromatic
#0A0718 #140E32 #281C61 #3C2A90 #4F37C0

Accessibility & contrast

On white

14.70
#281C61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#281C61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281C61
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281C61#FFFFFF#000000##FFFFFF
##281C611.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A63
Deuteranopia (green-blind)
#002660
Tritanopia (blue-blind)
#0E2E3B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #281c61;
/* rgb */ color: rgb(40, 28, 97);
/* oklch */ color: oklch(28.9% 0.116 284.4);
Tailwind
colors: {
  custom: {
    50: '#69598f',
    500: '#281c61',
    950: '#000000',
  },
}
SCSS
$custom: #281c61;
$custom-light: #69598f;
$custom-dark: #000000;
JSON
{
  "hex": "#281c61",
  "rgb": {
    "r": 40,
    "g": 28,
    "b": 97
  },
  "hsl": {
    "h": 250.435,
    "s": 55.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28921,
    "c": 0.116,
    "h": 284.4
  },
  "luminance": 0.02145
}

Semantic roles & 50–950 ramp

primary
#281C61
secondary
#889643
accent
#DF49C5
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #281C61

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

Preview Lab → · Contrast checker → · Palette generator →

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