#6B288D#6B288D

#6B288D is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.164 H 311.8°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#6B288D
RGBrgb(107, 40, 141)
HSLhsl(280, 56%, 35%)
HSVhsv(280, 72%, 55%)
CMYKcmyk(24.1%, 71.6%, 0%, 44.7%)
CIE-LABlab(30.80, 46.50, -43.15)
CIE-LCHlch(30.80, 63.44, 317.14°)
OKLaboklab(42.4% 0.1091 -0.1219)
OKLCHoklch(42.4% 0.164 311.8)
XYZxyz(11.6290, 6.5668, 25.8491)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B288D #4A8D28
analogous
#38288D #6B288D #8D287C
triadic
#6B288D #8D6B28 #288D6B
tetradic
#6B288D #8D3828 #4A8D28 #287C8D
square
#6B288D #8D3828 #4A8D28 #287C8D
split-complementary
#6B288D #7C8D28 #288D38
monochromatic
#230D2E #471A5D #6B288D #8F36BD #AB5ED1

Accessibility & contrast

On white

9.08
#6B288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6B288D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B288D
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B288D#FFFFFF#000000##FFFFFF
##6B288D1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#1C4A8B
Tritanopia (blue-blind)
#673E57
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6b288d;
/* rgb */ color: rgb(107, 40, 141);
/* oklch */ color: oklch(42.4% 0.164 311.8);
Tailwind
colors: {
  custom: {
    50: '#9968af',
    500: '#6b288d',
    950: '#000000',
  },
}
SCSS
$custom: #6b288d;
$custom-light: #9968af;
$custom-dark: #000000;
JSON
{
  "hex": "#6b288d",
  "rgb": {
    "r": 107,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 279.802,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42395,
    "c": 0.16355,
    "h": 311.8
  },
  "luminance": 0.06566
}

Semantic roles & 50–950 ramp

primary
#6B288D
secondary
#79B75A
accent
#DF497B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B288D

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

Preview Lab → · Contrast checker → · Palette generator →

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