#6A1C92#6A1C92

#6A1C92 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.182 H 310.7°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#6A1C92
RGBrgb(106, 28, 146)
HSLhsl(280, 68%, 34%)
HSVhsv(280, 81%, 57%)
CMYKcmyk(27.4%, 80.8%, 0%, 42.7%)
CIE-LABlab(29.34, 52.21, -48.61)
CIE-LCHlch(29.34, 71.34, 317.05°)
OKLaboklab(41.45% 0.1184 -0.1379)
OKLCHoklch(41.45% 0.182 310.7)
XYZxyz(11.5464, 5.9703, 27.7327)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1C92 #44921C
analogous
#2F1C92 #6A1C92 #921C7F
triadic
#6A1C92 #926A1C #1C926A
tetradic
#6A1C92 #922F1C #44921C #1C7F92
square
#6A1C92 #922F1C #44921C #1C7F92
split-complementary
#6A1C92 #7F921C #1C922F
monochromatic
#1F082B #45125F #6A1C92 #8F26C5 #AC4CDD

Accessibility & contrast

On white

9.57
#6A1C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6A1C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1C92
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1C92#FFFFFF#000000##FFFFFF
##6A1C921.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#643A57
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6a1c92;
/* rgb */ color: rgb(106, 28, 146);
/* oklch */ color: oklch(41.4% 0.182 310.7);
Tailwind
colors: {
  custom: {
    50: '#9963b3',
    500: '#6a1c92',
    950: '#000000',
  },
}
SCSS
$custom: #6a1c92;
$custom-light: #9963b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1c92",
  "rgb": {
    "r": 106,
    "g": 28,
    "b": 146
  },
  "hsl": {
    "h": 279.661,
    "s": 67.816,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41448,
    "c": 0.18174,
    "h": 310.7
  },
  "luminance": 0.0597
}

Semantic roles & 50–950 ramp

primary
#6A1C92
secondary
#72BF4B
accent
#EB3D78
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A1C92

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

Preview Lab → · Contrast checker → · Palette generator →

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