#280641#280641

#280641 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.6% C 0.103 H 305.5°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#280641
RGBrgb(40, 6, 65)
HSLhsl(275, 83%, 14%)
HSVhsv(275, 91%, 25%)
CMYKcmyk(38.5%, 90.8%, 0%, 74.5%)
CIE-LABlab(8.68, 29.18, -29.48)
CIE-LCHlch(8.68, 41.48, 314.71°)
OKLaboklab(22.61% 0.0599 -0.084)
OKLCHoklch(22.61% 0.103 305.5)
XYZxyz(1.8941, 0.9630, 5.0861)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280641 #1F4106
analogous
#0A0641 #280641 #41063D
triadic
#280641 #412806 #064128
tetradic
#280641 #410A06 #1F4106 #063D41
square
#280641 #410A06 #1F4106 #063D41
split-complementary
#280641 #3D4106 #06410A
monochromatic
#11031C #11031C #280641 #4A0B79 #6D10B1

Accessibility & contrast

On white

17.61
#280641 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#280641 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280641
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280641#FFFFFF#000000##FFFFFF
##2806411.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001843
Deuteranopia (green-blind)
#001940
Tritanopia (blue-blind)
#231624
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #280641;
/* rgb */ color: rgb(40, 6, 65);
/* oklch */ color: oklch(22.6% 0.103 305.5);
Tailwind
colors: {
  custom: {
    50: '#654a76',
    500: '#280641',
    950: '#000000',
  },
}
SCSS
$custom: #280641;
$custom-light: #654a76;
$custom-dark: #000000;
JSON
{
  "hex": "#280641",
  "rgb": {
    "r": 40,
    "g": 6,
    "b": 65
  },
  "hsl": {
    "h": 274.576,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22611,
    "c": 0.10318,
    "h": 305.5
  },
  "luminance": 0.00963
}

Semantic roles & 50–950 ramp

primary
#280641
secondary
#4A8122
accent
#F92E84
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #280641

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

Preview Lab → · Contrast checker → · Palette generator →

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