#280A38#280A38

#280A38 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.3% C 0.087 H 311.2°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#280A38
RGBrgb(40, 10, 56)
HSLhsl(279, 70%, 13%)
HSVhsv(279, 82%, 22%)
CMYKcmyk(28.6%, 82.1%, 0%, 78%)
CIE-LABlab(8.60, 24.65, -23.15)
CIE-LCHlch(8.60, 33.82, 316.81°)
OKLaboklab(22.3% 0.0572 -0.0654)
OKLCHoklch(22.3% 0.087 311.2)
XYZxyz(1.6973, 0.9538, 3.8353)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280A38 #1A380A
analogous
#110A38 #280A38 #380A31
triadic
#280A38 #38280A #0A3828
tetradic
#280A38 #38110A #1A380A #0A3138
square
#280A38 #38110A #1A380A #0A3138
split-complementary
#280A38 #31380A #0A3811
monochromatic
#13051A #13051A #280A38 #4D136C #721DA0

Accessibility & contrast

On white

17.64
#280A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#280A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280A38
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280A38#FFFFFF#000000##FFFFFF
##280A381.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001739
Deuteranopia (green-blind)
#051937
Tritanopia (blue-blind)
#261420
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #280a38;
/* rgb */ color: rgb(40, 10, 56);
/* oklch */ color: oklch(22.3% 0.087 311.2);
Tailwind
colors: {
  custom: {
    50: '#644c6f',
    500: '#280a38',
    950: '#000000',
  },
}
SCSS
$custom: #280a38;
$custom-light: #644c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#280a38",
  "rgb": {
    "r": 40,
    "g": 10,
    "b": 56
  },
  "hsl": {
    "h": 279.13,
    "s": 69.697,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22297,
    "c": 0.08692,
    "h": 311.2
  },
  "luminance": 0.00954
}

Semantic roles & 50–950 ramp

primary
#280A38
secondary
#437528
accent
#ED3B79
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060107
muted
#7A777A

Preview Lab

Preview with #280A38

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

Preview Lab → · Contrast checker → · Palette generator →

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