#6A256C#6A256C

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

Color values

HEX#6A256C
RGBrgb(106, 37, 108)
HSLhsl(298, 49%, 28%)
HSVhsv(298, 66%, 42%)
CMYKcmyk(1.9%, 65.7%, 0%, 57.6%)
CIE-LABlab(28.04, 40.69, -26.79)
CIE-LCHlch(28.04, 48.72, 326.64°)
OKLaboklab(39.7% 0.1124 -0.0741)
OKLCHoklch(39.7% 0.135 326.6)
XYZxyz(9.3120, 5.4706, 14.7499)
Luminance0.0547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A256C #276C25
analogous
#46256C #6A256C #6C254A
triadic
#6A256C #6C6A25 #256C6A
tetradic
#6A256C #6C4625 #276C25 #254A6C
square
#6A256C #6C4625 #276C25 #254A6C
split-complementary
#6A256C #4A6C25 #256C46
monochromatic
#160817 #3D153E #6A256C #97359A #BE4AC1

Accessibility & contrast

On white

10.03
#6A256C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6A256C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A256C
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A256C#FFFFFF#000000##FFFFFF
##6A256C1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3D6E
Deuteranopia (green-blind)
#34456A
Tritanopia (blue-blind)
#6D2F45
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6a256c;
/* rgb */ color: rgb(106, 37, 108);
/* oklch */ color: oklch(39.7% 0.135 326.6);
Tailwind
colors: {
  custom: {
    50: '#976596',
    500: '#6a256c',
    950: '#000000',
  },
}
SCSS
$custom: #6a256c;
$custom-light: #976596;
$custom-dark: #000000;
JSON
{
  "hex": "#6a256c",
  "rgb": {
    "r": 106,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 298.31,
    "s": 48.966,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39696,
    "c": 0.13465,
    "h": 326.6
  },
  "luminance": 0.0547
}

Semantic roles & 50–950 ramp

primary
#6A256C
secondary
#509F4E
accent
#D94F53
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6A256C

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

Preview Lab → · Contrast checker → · Palette generator →

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