#6A256E#6A256E

#6A256E is a dark, vivid purple. Relative luminance 0.055; OKLCH L 39.8% C 0.137 H 325.5°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#6A256E
RGBrgb(106, 37, 110)
HSLhsl(297, 50%, 29%)
HSVhsv(297, 66%, 43%)
CMYKcmyk(3.6%, 66.4%, 0%, 56.9%)
CIE-LABlab(28.15, 41.08, -27.89)
CIE-LCHlch(28.15, 49.66, 325.82°)
OKLaboklab(39.82% 0.1125 -0.0773)
OKLCHoklch(39.82% 0.137 325.5)
XYZxyz(9.4197, 5.5137, 15.3169)
Luminance0.0551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A256E #296E25
analogous
#46256E #6A256E #6E254E
triadic
#6A256E #6E6A25 #256E6A
tetradic
#6A256E #6E4625 #296E25 #254E6E
square
#6A256E #6E4625 #296E25 #254E6E
split-complementary
#6A256E #4E6E25 #256E46
monochromatic
#160817 #3E1640 #6A256E #96349C #BC4BC2

Accessibility & contrast

On white

9.99
#6A256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A256E
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A256E#FFFFFF#000000##FFFFFF
##6A256E1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193D70
Deuteranopia (green-blind)
#33456C
Tritanopia (blue-blind)
#6D2F46
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6a256e;
/* rgb */ color: rgb(106, 37, 110);
/* oklch */ color: oklch(39.8% 0.137 325.5);
Tailwind
colors: {
  custom: {
    50: '#976598',
    500: '#6a256e',
    950: '#000000',
  },
}
SCSS
$custom: #6a256e;
$custom-light: #976598;
$custom-dark: #000000;
JSON
{
  "hex": "#6a256e",
  "rgb": {
    "r": 106,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 296.712,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39817,
    "c": 0.13652,
    "h": 325.5
  },
  "luminance": 0.05513
}

Semantic roles & 50–950 ramp

primary
#6A256E
secondary
#52A14E
accent
#D94F56
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6A256E

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

Preview Lab → · Contrast checker → · Palette generator →

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