#6A0E62#6A0E62

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

Color values

HEX#6A0E62
RGBrgb(106, 14, 98)
HSLhsl(305, 77%, 24%)
HSVhsv(305, 87%, 42%)
CMYKcmyk(0%, 86.8%, 7.5%, 58.4%)
CIE-LABlab(24.52, 47.24, -25.87)
CIE-LCHlch(24.52, 53.86, 331.29°)
OKLaboklab(36.98% 0.1359 -0.0713)
OKLCHoklch(36.98% 0.153 332.3)
XYZxyz(8.3055, 4.2608, 11.9379)
Luminance0.0426 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A0E62 #0E6A16
analogous
#440E6A #6A0E62 #6A0E34
triadic
#6A0E62 #626A0E #0E626A
tetradic
#6A0E62 #6A440E #0E6A16 #0E346A
square
#6A0E62 #6A440E #0E6A16 #0E346A
split-complementary
#6A0E62 #346A0E #0E6A44
monochromatic
#1B0419 #340730 #6A0E62 #A01594 #D61CC6

Accessibility & contrast

On white

11.34
#6A0E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#6A0E62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A0E62
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A0E62#FFFFFF#000000##FFFFFF
##6A0E621.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053264
Deuteranopia (green-blind)
#2F3F60
Tritanopia (blue-blind)
#6F1B39
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6a0e62;
/* rgb */ color: rgb(106, 14, 98);
/* oklch */ color: oklch(37.0% 0.153 332.3);
Tailwind
colors: {
  custom: {
    50: '#985b8f',
    500: '#6a0e62',
    950: '#000000',
  },
}
SCSS
$custom: #6a0e62;
$custom-light: #985b8f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a0e62",
  "rgb": {
    "r": 106,
    "g": 14,
    "b": 98
  },
  "hsl": {
    "h": 305.217,
    "s": 76.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.36978,
    "c": 0.15347,
    "h": 332.3
  },
  "luminance": 0.0426
}

Semantic roles & 50–950 ramp

primary
#6A0E62
secondary
#31A33B
accent
#F34535
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E040C
muted
#7E797D

Preview Lab

Preview with #6A0E62

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

Preview Lab → · Contrast checker → · Palette generator →

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