#6C256F#6C256F

#6C256F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.2% C 0.139 H 326.1°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#6C256F
RGBrgb(108, 37, 111)
HSLhsl(298, 50%, 29%)
HSVhsv(298, 67%, 44%)
CMYKcmyk(2.7%, 66.7%, 0%, 56.5%)
CIE-LABlab(28.54, 41.81, -27.90)
CIE-LCHlch(28.54, 50.26, 326.28°)
OKLaboklab(40.18% 0.1151 -0.0773)
OKLCHoklch(40.18% 0.139 326.1)
XYZxyz(9.7150, 5.6596, 15.6166)
Luminance0.0566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C256F #286F25
analogous
#47256F #6C256F #6F254D
triadic
#6C256F #6F6C25 #256F6C
tetradic
#6C256F #6F4725 #286F25 #254D6F
square
#6C256F #6F4725 #286F25 #254D6F
split-complementary
#6C256F #4D6F25 #256F47
monochromatic
#160817 #3F1641 #6C256F #99349D #BE4BC3

Accessibility & contrast

On white

9.85
#6C256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6C256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C256F
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C256F#FFFFFF#000000##FFFFFF
##6C256F1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193E71
Deuteranopia (green-blind)
#34466D
Tritanopia (blue-blind)
#6F2F46
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6c256f;
/* rgb */ color: rgb(108, 37, 111);
/* oklch */ color: oklch(40.2% 0.139 326.1);
Tailwind
colors: {
  custom: {
    50: '#996598',
    500: '#6c256f',
    950: '#000000',
  },
}
SCSS
$custom: #6c256f;
$custom-light: #996598;
$custom-dark: #000000;
JSON
{
  "hex": "#6c256f",
  "rgb": {
    "r": 108,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 297.568,
    "s": 50,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40181,
    "c": 0.1386,
    "h": 326.1
  },
  "luminance": 0.05659
}

Semantic roles & 50–950 ramp

primary
#6C256F
secondary
#51A24E
accent
#DA4E54
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6C256F

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

Preview Lab → · Contrast checker → · Palette generator →

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