#280F3C#280F3C

#280F3C is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.084 H 306.5°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#280F3C
RGBrgb(40, 15, 60)
HSLhsl(273, 60%, 15%)
HSVhsv(273, 75%, 24%)
CMYKcmyk(33.3%, 75%, 0%, 76.5%)
CIE-LABlab(9.95, 22.94, -23.86)
CIE-LCHlch(9.95, 33.09, 313.87°)
OKLaboklab(23.37% 0.05 -0.0675)
OKLCHoklch(23.37% 0.084 306.5)
XYZxyz(1.8613, 1.1190, 4.3920)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F3C #233C0F
analogous
#110F3C #280F3C #3C0F3A
triadic
#280F3C #3C280F #0F3C28
tetradic
#280F3C #3C110F #233C0F #0F3A3C
square
#280F3C #3C110F #233C0F #0F3A3C
split-complementary
#280F3C #3A3C0F #0F3C11
monochromatic
#100618 #100618 #280F3C #491B6D #69279E

Accessibility & contrast

On white

17.16
#280F3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#280F3C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280F3C
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F3C#FFFFFF#000000##FFFFFF
##280F3C1.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3D
Deuteranopia (green-blind)
#051C3B
Tritanopia (blue-blind)
#251923
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #280f3c;
/* rgb */ color: rgb(40, 15, 60);
/* oklch */ color: oklch(23.4% 0.084 306.5);
Tailwind
colors: {
  custom: {
    50: '#644f72',
    500: '#280f3c',
    950: '#000000',
  },
}
SCSS
$custom: #280f3c;
$custom-light: #644f72;
$custom-dark: #000000;
JSON
{
  "hex": "#280f3c",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 60
  },
  "hsl": {
    "h": 273.333,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23366,
    "c": 0.08403,
    "h": 306.5
  },
  "luminance": 0.01119
}

Semantic roles & 50–950 ramp

primary
#280F3C
secondary
#507630
accent
#E3458B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050208
muted
#7A787B

Preview Lab

Preview with #280F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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