#280346#280346

#280346 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.113 H 303.0°. Best body text is #FFFFFF at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#280346
RGBrgb(40, 3, 70)
HSLhsl(273, 92%, 14%)
HSVhsv(273, 96%, 27%)
CMYKcmyk(42.9%, 95.7%, 0%, 72.5%)
CIE-LABlab(8.64, 32.13, -33.08)
CIE-LCHlch(8.64, 46.11, 314.16°)
OKLaboklab(22.74% 0.0614 -0.0945)
OKLCHoklch(22.74% 0.113 303)
XYZxyz(2.0129, 0.9584, 5.8721)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280346 #214603
analogous
#060346 #280346 #460343
triadic
#280346 #462803 #034628
tetradic
#280346 #460603 #214603 #034346
square
#280346 #460603 #214603 #034346
split-complementary
#280346 #434603 #034606
monochromatic
#11011D #11011D #280346 #4A0681 #6B08BB

Accessibility & contrast

On white

17.62
#280346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #280346
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280346#FFFFFF#000000##FFFFFF
##2803461.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001848
Deuteranopia (green-blind)
#001945
Tritanopia (blue-blind)
#221626
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #280346;
/* rgb */ color: rgb(40, 3, 70);
/* oklch */ color: oklch(22.7% 0.113 303.0);
Tailwind
colors: {
  custom: {
    50: '#66497a',
    500: '#280346',
    950: '#000000',
  },
}
SCSS
$custom: #280346;
$custom-light: #66497a;
$custom-dark: #000000;
JSON
{
  "hex": "#280346",
  "rgb": {
    "r": 40,
    "g": 3,
    "b": 70
  },
  "hsl": {
    "h": 273.134,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22743,
    "c": 0.11274,
    "h": 303
  },
  "luminance": 0.00958
}

Semantic roles & 50–950 ramp

primary
#280346
secondary
#4D871D
accent
#FF2989
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #280346

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

Preview Lab → · Contrast checker → · Palette generator →

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