#6A2162#6A2162

#6A2162 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.6% C 0.132 H 332.5°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#6A2162
RGBrgb(106, 33, 98)
HSLhsl(307, 53%, 27%)
HSVhsv(307, 69%, 42%)
CMYKcmyk(0%, 68.9%, 7.5%, 58.4%)
CIE-LABlab(26.83, 40.65, -22.22)
CIE-LCHlch(26.83, 46.32, 331.34°)
OKLaboklab(38.64% 0.1167 -0.0609)
OKLCHoklch(38.64% 0.132 332.5)
XYZxyz(8.6923, 5.0344, 12.0668)
Luminance0.0503 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2162 #216A29
analogous
#4D216A #6A2162 #6A213E
triadic
#6A2162 #626A21 #21626A
tetradic
#6A2162 #6A4D21 #216A29 #213E6A
square
#6A2162 #6A4D21 #216A29 #213E6A
split-complementary
#6A2162 #3E6A21 #216A4D
monochromatic
#170716 #3B1237 #6A2162 #99308D #C441B6

Accessibility & contrast

On white

10.46
#6A2162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6A2162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2162
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2162#FFFFFF#000000##FFFFFF
##6A21621.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3964
Deuteranopia (green-blind)
#374360
Tritanopia (blue-blind)
#6F283E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6a2162;
/* rgb */ color: rgb(106, 33, 98);
/* oklch */ color: oklch(38.6% 0.132 332.5);
Tailwind
colors: {
  custom: {
    50: '#97638f',
    500: '#6a2162',
    950: '#000000',
  },
}
SCSS
$custom: #6a2162;
$custom-light: #97638f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2162",
  "rgb": {
    "r": 106,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 306.575,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.38644,
    "c": 0.13163,
    "h": 332.5
  },
  "luminance": 0.05034
}

Semantic roles & 50–950 ramp

primary
#6A2162
secondary
#499E52
accent
#DC5C4C
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E050C
muted
#7E7A7D

Preview Lab

Preview with #6A2162

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

Preview Lab → · Contrast checker → · Palette generator →

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