#280E3A#280E3A

#280E3A is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.0% C 0.083 H 308.4°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#280E3A
RGBrgb(40, 14, 58)
HSLhsl(275, 61%, 14%)
HSVhsv(275, 76%, 23%)
CMYKcmyk(31%, 75.9%, 0%, 77.3%)
CIE-LABlab(9.57, 22.97, -23.03)
CIE-LCHlch(9.57, 32.53, 314.92°)
OKLaboklab(23.04% 0.0516 -0.0651)
OKLCHoklch(23.04% 0.083 308.4)
XYZxyz(1.7957, 1.0707, 4.1142)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280E3A #203A0E
analogous
#120E3A #280E3A #3A0E36
triadic
#280E3A #3A280E #0E3A28
tetradic
#280E3A #3A120E #203A0E #0E363A
square
#280E3A #3A120E #203A0E #0E363A
split-complementary
#280E3A #363A0E #0E3A12
monochromatic
#110619 #110619 #280E3A #4A1A6B #6C269D

Accessibility & contrast

On white

17.30
#280E3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#280E3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280E3A
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280E3A#FFFFFF#000000##FFFFFF
##280E3A1.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#061B39
Tritanopia (blue-blind)
#251722
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #280e3a;
/* rgb */ color: rgb(40, 14, 58);
/* oklch */ color: oklch(23.0% 0.083 308.4);
Tailwind
colors: {
  custom: {
    50: '#644e70',
    500: '#280e3a',
    950: '#000000',
  },
}
SCSS
$custom: #280e3a;
$custom-light: #644e70;
$custom-dark: #000000;
JSON
{
  "hex": "#280e3a",
  "rgb": {
    "r": 40,
    "g": 14,
    "b": 58
  },
  "hsl": {
    "h": 275.455,
    "s": 61.111,
    "l": 14.118
  },
  "oklch": {
    "l": 0.23042,
    "c": 0.08307,
    "h": 308.4
  },
  "luminance": 0.01071
}

Semantic roles & 50–950 ramp

primary
#280E3A
secondary
#4C752F
accent
#E44485
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050207
muted
#7A787A

Preview Lab

Preview with #280E3A

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

Preview Lab → · Contrast checker → · Palette generator →

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