#6A1C63#6A1C63

#6A1C63 is a dark, vivid purple. Relative luminance 0.048; OKLCH L 38.2% C 0.139 H 331.8°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#6A1C63
RGBrgb(106, 28, 99)
HSLhsl(305, 58%, 26%)
HSVhsv(305, 74%, 42%)
CMYKcmyk(0%, 73.6%, 6.6%, 58.4%)
CIE-LABlab(26.15, 42.90, -23.95)
CIE-LCHlch(26.15, 49.13, 330.83°)
OKLaboklab(38.17% 0.1228 -0.0658)
OKLCHoklch(38.17% 0.139 331.8)
XYZxyz(8.6112, 4.7962, 12.2742)
Luminance0.0480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1C63 #1C6A23
analogous
#4A1C6A #6A1C63 #6A1C3C
triadic
#6A1C63 #636A1C #1C636A
tetradic
#6A1C63 #6A4A1C #1C6A23 #1C3C6A
square
#6A1C63 #6A4A1C #1C6A23 #1C3C6A
split-complementary
#6A1C63 #3C6A1C #1C6A4A
monochromatic
#180617 #3A0F36 #6A1C63 #9A2990 #CA36BD

Accessibility & contrast

On white

10.72
#6A1C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#6A1C63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1C63
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1C63#FFFFFF#000000##FFFFFF
##6A1C631.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173765
Deuteranopia (green-blind)
#344261
Tritanopia (blue-blind)
#6F243D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6a1c63;
/* rgb */ color: rgb(106, 28, 99);
/* oklch */ color: oklch(38.2% 0.139 331.8);
Tailwind
colors: {
  custom: {
    50: '#97608f',
    500: '#6a1c63',
    950: '#000000',
  },
}
SCSS
$custom: #6a1c63;
$custom-light: #97608f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1c63",
  "rgb": {
    "r": 106,
    "g": 28,
    "b": 99
  },
  "hsl": {
    "h": 305.385,
    "s": 58.209,
    "l": 26.275
  },
  "oklch": {
    "l": 0.38165,
    "c": 0.13936,
    "h": 331.8
  },
  "luminance": 0.04796
}

Semantic roles & 50–950 ramp

primary
#6A1C63
secondary
#439F4B
accent
#E15446
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6A1C63

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

Preview Lab → · Contrast checker → · Palette generator →

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