#6A1B92#6A1B92

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

Color values

HEX#6A1B92
RGBrgb(106, 27, 146)
HSLhsl(280, 69%, 34%)
HSVhsv(280, 82%, 57%)
CMYKcmyk(27.4%, 81.5%, 0%, 42.7%)
CIE-LABlab(29.22, 52.56, -48.80)
CIE-LCHlch(29.22, 71.72, 317.12°)
OKLaboklab(41.37% 0.1192 -0.1384)
OKLCHoklch(41.37% 0.183 310.7)
XYZxyz(11.5231, 5.9236, 27.7249)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1B92 #43921B
analogous
#2F1B92 #6A1B92 #921B7F
triadic
#6A1B92 #926A1B #1B926A
tetradic
#6A1B92 #922F1B #43921B #1B7F92
square
#6A1B92 #922F1B #43921B #1B7F92
split-complementary
#6A1B92 #7F921B #1B922F
monochromatic
#1F082B #45115E #6A1B92 #8F25C6 #AC4ADE

Accessibility & contrast

On white

9.61
#6A1B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6A1B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1B92
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1B92#FFFFFF#000000##FFFFFF
##6A1B921.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#643957
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6a1b92;
/* rgb */ color: rgb(106, 27, 146);
/* oklch */ color: oklch(41.4% 0.183 310.7);
Tailwind
colors: {
  custom: {
    50: '#9962b3',
    500: '#6a1b92',
    950: '#000000',
  },
}
SCSS
$custom: #6a1b92;
$custom-light: #9962b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1b92",
  "rgb": {
    "r": 106,
    "g": 27,
    "b": 146
  },
  "hsl": {
    "h": 279.832,
    "s": 68.786,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41365,
    "c": 0.18269,
    "h": 310.7
  },
  "luminance": 0.05923
}

Semantic roles & 50–950 ramp

primary
#6A1B92
secondary
#71BF49
accent
#EC3C77
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A1B92

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

Preview Lab → · Contrast checker → · Palette generator →

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