#6C267D#6C267D

#6C267D is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.2% C 0.151 H 319.2°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#6C267D
RGBrgb(108, 38, 125)
HSLhsl(288, 53%, 32%)
HSVhsv(288, 70%, 49%)
CMYKcmyk(13.6%, 69.6%, 0%, 51%)
CIE-LABlab(29.55, 44.16, -35.17)
CIE-LCHlch(29.55, 56.46, 321.47°)
OKLaboklab(41.19% 0.1139 -0.0984)
OKLCHoklch(41.19% 0.151 319.2)
XYZxyz(10.5786, 6.0555, 20.0097)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C267D #377D26
analogous
#41267D #6C267D #7D2663
triadic
#6C267D #7D6C26 #267D6C
tetradic
#6C267D #7D4126 #377D26 #26637D
square
#6C267D #7D4126 #377D26 #26637D
split-complementary
#6C267D #637D26 #267D41
monochromatic
#1B091F #43184E #6C267D #9534AC #B353CB

Accessibility & contrast

On white

9.50
#6C267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6C267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C267D
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C267D#FFFFFF#000000##FFFFFF
##6C267D1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044180
Deuteranopia (green-blind)
#2C487B
Tritanopia (blue-blind)
#6C364E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6c267d;
/* rgb */ color: rgb(108, 38, 125);
/* oklch */ color: oklch(41.2% 0.151 319.2);
Tailwind
colors: {
  custom: {
    50: '#9966a3',
    500: '#6c267d',
    950: '#000000',
  },
}
SCSS
$custom: #6c267d;
$custom-light: #9966a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c267d",
  "rgb": {
    "r": 108,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 288.276,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41188,
    "c": 0.15057,
    "h": 319.2
  },
  "luminance": 0.06055
}

Semantic roles & 50–950 ramp

primary
#6C267D
secondary
#62AF50
accent
#DD4B68
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6C267D

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

Preview Lab → · Contrast checker → · Palette generator →

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