#280341#280341

#280341 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.2% C 0.107 H 306.2°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#280341
RGBrgb(40, 3, 65)
HSLhsl(276, 91%, 13%)
HSVhsv(276, 95%, 25%)
CMYKcmyk(38.5%, 95.4%, 0%, 74.5%)
CIE-LABlab(8.11, 30.85, -30.41)
CIE-LCHlch(8.11, 43.32, 315.42°)
OKLaboklab(22.22% 0.0636 -0.0867)
OKLCHoklch(22.22% 0.107 306.2)
XYZxyz(1.8616, 0.8979, 5.0752)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280341 #1C4103
analogous
#090341 #280341 #41033B
triadic
#280341 #412803 #034128
tetradic
#280341 #410903 #1C4103 #033B41
square
#280341 #410903 #1C4103 #033B41
split-complementary
#280341 #3B4103 #034109
monochromatic
#12011D #12011D #280341 #4C067B #7008B6

Accessibility & contrast

On white

17.80
#280341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#280341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280341
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280341#FFFFFF#000000##FFFFFF
##2803411.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001743
Deuteranopia (green-blind)
#001840
Tritanopia (blue-blind)
#231423
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #280341;
/* rgb */ color: rgb(40, 3, 65);
/* oklch */ color: oklch(22.2% 0.107 306.2);
Tailwind
colors: {
  custom: {
    50: '#664976',
    500: '#280341',
    950: '#000000',
  },
}
SCSS
$custom: #280341;
$custom-light: #664976;
$custom-dark: #000000;
JSON
{
  "hex": "#280341",
  "rgb": {
    "r": 40,
    "g": 3,
    "b": 65
  },
  "hsl": {
    "h": 275.806,
    "s": 91.176,
    "l": 13.333
  },
  "oklch": {
    "l": 0.22217,
    "c": 0.10749,
    "h": 306.2
  },
  "luminance": 0.00898
}

Semantic roles & 50–950 ramp

primary
#280341
secondary
#46831D
accent
#FF297F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #280341

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

Preview Lab → · Contrast checker → · Palette generator →

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