#6A246C#6A246C

#6A246C is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.6% C 0.136 H 326.6°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#6A246C
RGBrgb(106, 36, 108)
HSLhsl(298, 50%, 28%)
HSVhsv(298, 67%, 42%)
CMYKcmyk(1.9%, 66.7%, 0%, 57.6%)
CIE-LABlab(27.87, 41.15, -27.05)
CIE-LCHlch(27.87, 49.25, 326.68°)
OKLaboklab(39.58% 0.1137 -0.0749)
OKLCHoklch(39.58% 0.136 326.6)
XYZxyz(9.2813, 5.4092, 14.7397)
Luminance0.0541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A246C #266C24
analogous
#46246C #6A246C #6C244A
triadic
#6A246C #6C6A24 #246C6A
tetradic
#6A246C #6C4624 #266C24 #244A6C
square
#6A246C #6C4624 #266C24 #244A6C
split-complementary
#6A246C #4A6C24 #246C46
monochromatic
#170817 #3D153E #6A246C #97339A #BF48C2

Accessibility & contrast

On white

10.09
#6A246C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6A246C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A246C
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A246C#FFFFFF#000000##FFFFFF
##6A246C1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193C6E
Deuteranopia (green-blind)
#34456A
Tritanopia (blue-blind)
#6D2E44
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6a246c;
/* rgb */ color: rgb(106, 36, 108);
/* oklch */ color: oklch(39.6% 0.136 326.6);
Tailwind
colors: {
  custom: {
    50: '#976596',
    500: '#6a246c',
    950: '#000000',
  },
}
SCSS
$custom: #6a246c;
$custom-light: #976596;
$custom-dark: #000000;
JSON
{
  "hex": "#6a246c",
  "rgb": {
    "r": 106,
    "g": 36,
    "b": 108
  },
  "hsl": {
    "h": 298.333,
    "s": 50,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39576,
    "c": 0.13614,
    "h": 326.6
  },
  "luminance": 0.05409
}

Semantic roles & 50–950 ramp

primary
#6A246C
secondary
#4F9F4D
accent
#DA4E52
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6A246C

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

Preview Lab → · Contrast checker → · Palette generator →

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