#280F3E#280F3E

#280F3E is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.087 H 305.0°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#280F3E
RGBrgb(40, 15, 62)
HSLhsl(272, 61%, 15%)
HSVhsv(272, 76%, 24%)
CMYKcmyk(35.5%, 75.8%, 0%, 75.7%)
CIE-LABlab(10.11, 23.51, -25.02)
CIE-LCHlch(10.11, 34.33, 313.22°)
OKLaboklab(23.54% 0.0498 -0.071)
OKLCHoklch(23.54% 0.087 305)
XYZxyz(1.9152, 1.1406, 4.6758)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280F3E #253E0F
analogous
#110F3E #280F3E #3E0F3C
triadic
#280F3E #3E280F #0F3E28
tetradic
#280F3E #3E110F #253E0F #0F3C3E
square
#280F3E #3E110F #253E0F #0F3C3E
split-complementary
#280F3E #3C3E0F #0F3E11
monochromatic
#100619 #100619 #280F3E #481B6F #6827A1

Accessibility & contrast

On white

17.10
#280F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#280F3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280F3E
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280F3E#FFFFFF#000000##FFFFFF
##280F3E1.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3F
Deuteranopia (green-blind)
#031C3D
Tritanopia (blue-blind)
#241924
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #280f3e;
/* rgb */ color: rgb(40, 15, 62);
/* oklch */ color: oklch(23.5% 0.087 305.0);
Tailwind
colors: {
  custom: {
    50: '#644f74',
    500: '#280f3e',
    950: '#000000',
  },
}
SCSS
$custom: #280f3e;
$custom-light: #644f74;
$custom-dark: #000000;
JSON
{
  "hex": "#280f3e",
  "rgb": {
    "r": 40,
    "g": 15,
    "b": 62
  },
  "hsl": {
    "h": 271.915,
    "s": 61.039,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23538,
    "c": 0.08668,
    "h": 305
  },
  "luminance": 0.01141
}

Semantic roles & 50–950 ramp

primary
#280F3E
secondary
#527830
accent
#E4448F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #280F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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