#280D3E#280D3E

#280D3E is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.090 H 305.7°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#280D3E
RGBrgb(40, 13, 62)
HSLhsl(273, 65%, 15%)
HSVhsv(273, 79%, 24%)
CMYKcmyk(35.5%, 79%, 0%, 75.7%)
CIE-LABlab(9.69, 24.67, -25.69)
CIE-LCHlch(9.69, 35.62, 313.83°)
OKLaboklab(23.24% 0.0524 -0.0729)
OKLCHoklch(23.24% 0.09 305.7)
XYZxyz(1.8883, 1.0868, 4.6668)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280D3E #233E0D
analogous
#100D3E #280D3E #3E0D3C
triadic
#280D3E #3E280D #0D3E28
tetradic
#280D3E #3E100D #233E0D #0D3C3E
square
#280D3E #3E100D #233E0D #0D3C3E
split-complementary
#280D3E #3C3E0D #0D3E10
monochromatic
#100519 #100519 #280D3E #491871 #6922A3

Accessibility & contrast

On white

17.25
#280D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#280D3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280D3E
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280D3E#FFFFFF#000000##FFFFFF
##280D3E1.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3F
Deuteranopia (green-blind)
#011B3D
Tritanopia (blue-blind)
#241824
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #280d3e;
/* rgb */ color: rgb(40, 13, 62);
/* oklch */ color: oklch(23.2% 0.090 305.7);
Tailwind
colors: {
  custom: {
    50: '#644e74',
    500: '#280d3e',
    950: '#000000',
  },
}
SCSS
$custom: #280d3e;
$custom-light: #644e74;
$custom-dark: #000000;
JSON
{
  "hex": "#280d3e",
  "rgb": {
    "r": 40,
    "g": 13,
    "b": 62
  },
  "hsl": {
    "h": 273.061,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23239,
    "c": 0.08982,
    "h": 305.7
  },
  "luminance": 0.01087
}

Semantic roles & 50–950 ramp

primary
#280D3E
secondary
#507A2D
accent
#E8408B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #280D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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