#6B256A#6B256A

#6B256A is a dark, vivid purple. Relative luminance 0.055; OKLCH L 39.7% C 0.133 H 328.3°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#6B256A
RGBrgb(107, 37, 106)
HSLhsl(301, 49%, 28%)
HSVhsv(301, 65%, 42%)
CMYKcmyk(0%, 65.4%, 0.9%, 58%)
CIE-LABlab(28.09, 40.58, -25.41)
CIE-LCHlch(28.09, 47.88, 327.95°)
OKLaboklab(39.73% 0.1135 -0.0701)
OKLCHoklch(39.73% 0.133 328.3)
XYZxyz(9.3264, 5.4902, 14.2014)
Luminance0.0549 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B256A #256B26
analogous
#49256B #6B256A #6B2547
triadic
#6B256A #6A6B25 #256A6B
tetradic
#6B256A #6B4925 #256B26 #25476B
square
#6B256A #6B4925 #256B26 #25476B
split-complementary
#6B256A #476B25 #256B49
monochromatic
#170817 #3E153D #6B256A #983597 #C04ABF

Accessibility & contrast

On white

10.01
#6B256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6B256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B256A
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B256A#FFFFFF#000000##FFFFFF
##6B256A1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3C6C
Deuteranopia (green-blind)
#364668
Tritanopia (blue-blind)
#6E2E44
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6b256a;
/* rgb */ color: rgb(107, 37, 106);
/* oklch */ color: oklch(39.7% 0.133 328.3);
Tailwind
colors: {
  custom: {
    50: '#986595',
    500: '#6b256a',
    950: '#000000',
  },
}
SCSS
$custom: #6b256a;
$custom-light: #986595;
$custom-dark: #000000;
JSON
{
  "hex": "#6b256a",
  "rgb": {
    "r": 107,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 300.857,
    "s": 48.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39731,
    "c": 0.1334,
    "h": 328.3
  },
  "luminance": 0.0549
}

Semantic roles & 50–950 ramp

primary
#6B256A
secondary
#4E9E4F
accent
#D85250
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6B256A

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

Preview Lab → · Contrast checker → · Palette generator →

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