#280E40#280E40

#280E40 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.091 H 304.0°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#280E40
RGBrgb(40, 14, 64)
HSLhsl(271, 64%, 15%)
HSVhsv(271, 78%, 25%)
CMYKcmyk(37.5%, 78.1%, 0%, 74.9%)
CIE-LABlab(10.07, 24.67, -26.50)
CIE-LCHlch(10.07, 36.21, 312.95°)
OKLaboklab(23.56% 0.0508 -0.0753)
OKLCHoklch(23.56% 0.091 304)
XYZxyz(1.9573, 1.1354, 4.9655)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280E40 #26400E
analogous
#0F0E40 #280E40 #400E3F
triadic
#280E40 #40280E #0E4028
tetradic
#280E40 #400F0E #26400E #0E3F40
square
#280E40 #400F0E #26400E #0E3F40
split-complementary
#280E40 #3F400E #0E400F
monochromatic
#100519 #100519 #280E40 #471972 #6724A4

Accessibility & contrast

On white

17.11
#280E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#280E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280E40
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280E40#FFFFFF#000000##FFFFFF
##280E401.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B41
Deuteranopia (green-blind)
#001C3F
Tritanopia (blue-blind)
#231925
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #280e40;
/* rgb */ color: rgb(40, 14, 64);
/* oklch */ color: oklch(23.6% 0.091 304.0);
Tailwind
colors: {
  custom: {
    50: '#654f75',
    500: '#280e40',
    950: '#000000',
  },
}
SCSS
$custom: #280e40;
$custom-light: #654f75;
$custom-dark: #000000;
JSON
{
  "hex": "#280e40",
  "rgb": {
    "r": 40,
    "g": 14,
    "b": 64
  },
  "hsl": {
    "h": 271.2,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23564,
    "c": 0.09086,
    "h": 304
  },
  "luminance": 0.01135
}

Semantic roles & 50–950 ramp

primary
#280E40
secondary
#537B2F
accent
#E74191
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #280E40

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

Preview Lab → · Contrast checker → · Palette generator →

#280E40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva