#280235#280235

#280235 is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.9% C 0.097 H 315.6°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#280235
RGBrgb(40, 2, 53)
HSLhsl(285, 93%, 11%)
HSVhsv(285, 96%, 21%)
CMYKcmyk(24.5%, 96.2%, 0%, 79.2%)
CIE-LABlab(6.79, 28.27, -23.88)
CIE-LCHlch(6.79, 37.01, 319.81°)
OKLaboklab(20.89% 0.0693 -0.0678)
OKLCHoklch(20.89% 0.097 315.6)
XYZxyz(1.5393, 0.7516, 3.4315)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#280235 #0F3502
analogous
#0E0235 #280235 #350228
triadic
#280235 #352802 #023528
tetradic
#280235 #350E02 #0F3502 #022835
square
#280235 #350E02 #0F3502 #022835
split-complementary
#280235 #283502 #02350E
monochromatic
#16011D #16011D #280235 #550470 #8106AB

Accessibility & contrast

On white

18.25
#280235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#280235 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #280235
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##280235#FFFFFF#000000##FFFFFF
##2802351.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001336
Deuteranopia (green-blind)
#011634
Tritanopia (blue-blind)
#270D1C
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #280235;
/* rgb */ color: rgb(40, 2, 53);
/* oklch */ color: oklch(20.9% 0.097 315.6);
Tailwind
colors: {
  custom: {
    50: '#65476d',
    500: '#280235',
    950: '#000000',
  },
}
SCSS
$custom: #280235;
$custom-light: #65476d;
$custom-dark: #000000;
JSON
{
  "hex": "#280235",
  "rgb": {
    "r": 40,
    "g": 2,
    "b": 53
  },
  "hsl": {
    "h": 284.706,
    "s": 92.727,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20892,
    "c": 0.09699,
    "h": 315.6
  },
  "luminance": 0.00752
}

Semantic roles & 50–950 ramp

primary
#280235
secondary
#32791A
accent
#FF295F
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#060007
muted
#7A777A

Preview Lab

Preview with #280235

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

Preview Lab → · Contrast checker → · Palette generator →

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