#280F46#280F46

#280F46 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.097 H 299.9°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#280F46
RGBrgb(40, 15, 70)
HSLhsl(267, 65%, 17%)
HSVhsv(267, 79%, 27%)
CMYKcmyk(42.9%, 78.6%, 0%, 72.5%)
CIE-LABlab(10.81, 25.86, -29.53)
CIE-LCHlch(10.81, 39.25, 311.21°)
OKLaboklab(24.26% 0.0484 -0.0842)
OKLCHoklch(24.26% 0.097 299.9)
XYZxyz(2.1511, 1.2349, 5.9182)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F46 #2D460F
analogous
#0F1246 #280F46 #440F46
triadic
#280F46 #46280F #0F4628
tetradic
#280F46 #460F12 #2D460F #0F4644
square
#280F46 #460F12 #2D460F #0F4644
split-complementary
#280F46 #46440F #12460F
monochromatic
#0E0519 #0E0519 #280F46 #451A78 #6225AB

Accessibility & contrast

On white

16.84
#280F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#280F46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280F46
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F46#FFFFFF#000000##FFFFFF
##280F461.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D48
Deuteranopia (green-blind)
#001D45
Tritanopia (blue-blind)
#211C29
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #280f46;
/* rgb */ color: rgb(40, 15, 70);
/* oklch */ color: oklch(24.3% 0.097 299.9);
Tailwind
colors: {
  custom: {
    50: '#654f7a',
    500: '#280f46',
    950: '#000000',
  },
}
SCSS
$custom: #280f46;
$custom-light: #654f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#280f46",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 70
  },
  "hsl": {
    "h": 267.273,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2426,
    "c": 0.09717,
    "h": 299.9
  },
  "luminance": 0.01235
}

Semantic roles & 50–950 ramp

primary
#280F46
secondary
#5C8030
accent
#E8409C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060209
muted
#7A787B

Preview Lab

Preview with #280F46

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

Preview Lab → · Contrast checker → · Palette generator →

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