#281259#281259

#281259 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.6% C 0.118 H 290.1°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#281259
RGBrgb(40, 18, 89)
HSLhsl(259, 66%, 21%)
HSVhsv(259, 80%, 35%)
CMYKcmyk(55.1%, 79.8%, 0%, 65.1%)
CIE-LABlab(13.26, 30.01, -38.59)
CIE-LCHlch(13.26, 48.88, 307.87°)
OKLaboklab(26.56% 0.0405 -0.1108)
OKLCHoklch(26.56% 0.118 290.1)
XYZxyz(2.8940, 1.6049, 9.6065)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#281259 #435912
analogous
#121F59 #281259 #4B1259
triadic
#281259 #592812 #125928
tetradic
#281259 #59121F #435912 #12594B
square
#281259 #59121F #435912 #12594B
split-complementary
#281259 #594B12 #1F5912
monochromatic
#0B0519 #110826 #281259 #3F1C8C #5627BF

Accessibility & contrast

On white

15.90
#281259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#281259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #281259
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##281259#FFFFFF#000000##FFFFFF
##2812591.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235B
Deuteranopia (green-blind)
#002058
Tritanopia (blue-blind)
#172534
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #281259;
/* rgb */ color: rgb(40, 18, 89);
/* oklch */ color: oklch(26.6% 0.118 290.1);
Tailwind
colors: {
  custom: {
    50: '#685289',
    500: '#281259',
    950: '#000000',
  },
}
SCSS
$custom: #281259;
$custom-light: #685289;
$custom-dark: #000000;
JSON
{
  "hex": "#281259",
  "rgb": {
    "r": 40,
    "g": 18,
    "b": 89
  },
  "hsl": {
    "h": 258.592,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26564,
    "c": 0.11803,
    "h": 290.1
  },
  "luminance": 0.01605
}

Semantic roles & 50–950 ramp

primary
#281259
secondary
#759235
accent
#E93FB4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020B
muted
#7A787C

Preview Lab

Preview with #281259

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

Preview Lab → · Contrast checker → · Palette generator →

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