#6D288B#6D288B

#6D288B is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.162 H 313.6°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#6D288B
RGBrgb(109, 40, 139)
HSLhsl(282, 55%, 35%)
HSVhsv(282, 71%, 55%)
CMYKcmyk(21.6%, 71.2%, 0%, 45.5%)
CIE-LABlab(30.96, 46.50, -41.64)
CIE-LCHlch(30.96, 62.42, 318.15°)
OKLaboklab(42.53% 0.112 -0.1174)
OKLCHoklch(42.53% 0.162 313.6)
XYZxyz(11.7249, 6.6332, 25.0838)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D288B #468B28
analogous
#3B288B #6D288B #8B2878
triadic
#6D288B #8B6D28 #288B6D
tetradic
#6D288B #8B3B28 #468B28 #28788B
square
#6D288B #8B3B28 #468B28 #28788B
split-complementary
#6D288B #788B28 #288B3B
monochromatic
#220D2C #481A5B #6D288B #9236BB #AD5DD0

Accessibility & contrast

On white

9.03
#6D288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6D288B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D288B
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D288B#FFFFFF#000000##FFFFFF
##6D288B1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#214A89
Tritanopia (blue-blind)
#6A3C56
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6d288b;
/* rgb */ color: rgb(109, 40, 139);
/* oklch */ color: oklch(42.5% 0.162 313.6);
Tailwind
colors: {
  custom: {
    50: '#9a68ad',
    500: '#6d288b',
    950: '#000000',
  },
}
SCSS
$custom: #6d288b;
$custom-light: #9a68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6d288b",
  "rgb": {
    "r": 109,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 281.818,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42525,
    "c": 0.16224,
    "h": 313.6
  },
  "luminance": 0.06633
}

Semantic roles & 50–950 ramp

primary
#6D288B
secondary
#75B659
accent
#DF4976
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D288B

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

Preview Lab → · Contrast checker → · Palette generator →

#6D288B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva