#6A1062#6A1062

#6A1062 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.1% C 0.152 H 332.3°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#6A1062
RGBrgb(106, 16, 98)
HSLhsl(305, 74%, 24%)
HSVhsv(305, 85%, 42%)
CMYKcmyk(0%, 84.9%, 7.5%, 58.4%)
CIE-LABlab(24.69, 46.72, -25.59)
CIE-LCHlch(24.69, 53.27, 331.29°)
OKLaboklab(37.1% 0.1344 -0.0704)
OKLCHoklch(37.1% 0.152 332.3)
XYZxyz(8.3338, 4.3173, 11.9473)
Luminance0.0432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1062 #106A18
analogous
#45106A #6A1062 #6A1035
triadic
#6A1062 #626A10 #10626A
tetradic
#6A1062 #6A4510 #106A18 #10356A
square
#6A1062 #6A4510 #106A18 #10356A
split-complementary
#6A1062 #356A10 #106A45
monochromatic
#1B0419 #350831 #6A1062 #9F1893 #D420C4

Accessibility & contrast

On white

11.27
#6A1062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#6A1062 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1062
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1062#FFFFFF#000000##FFFFFF
##6A10621.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083364
Deuteranopia (green-blind)
#303F60
Tritanopia (blue-blind)
#6F1C39
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6a1062;
/* rgb */ color: rgb(106, 16, 98);
/* oklch */ color: oklch(37.1% 0.152 332.3);
Tailwind
colors: {
  custom: {
    50: '#985c8f',
    500: '#6a1062',
    950: '#000000',
  },
}
SCSS
$custom: #6a1062;
$custom-light: #985c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1062",
  "rgb": {
    "r": 106,
    "g": 16,
    "b": 98
  },
  "hsl": {
    "h": 305.333,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.37105,
    "c": 0.15175,
    "h": 332.3
  },
  "luminance": 0.04317
}

Semantic roles & 50–950 ramp

primary
#6A1062
secondary
#34A23E
accent
#F04837
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E040C
muted
#7E797D

Preview Lab

Preview with #6A1062

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

Preview Lab → · Contrast checker → · Palette generator →

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