#6A3192#6A3192

#6A3192 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.7% C 0.156 H 308.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#6A3192
RGBrgb(106, 49, 146)
HSLhsl(275, 50%, 38%)
HSVhsv(275, 66%, 57%)
CMYKcmyk(27.4%, 66.4%, 0%, 42.7%)
CIE-LABlab(32.56, 43.11, -43.40)
CIE-LCHlch(32.56, 61.17, 314.81°)
OKLaboklab(43.74% 0.0968 -0.1227)
OKLCHoklch(43.74% 0.156 308.3)
XYZxyz(12.2294, 7.3363, 27.9604)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3192 #599231
analogous
#393192 #6A3192 #923189
triadic
#6A3192 #926A31 #31926A
tetradic
#6A3192 #923931 #599231 #318992
square
#6A3192 #923931 #599231 #318992
split-complementary
#6A3192 #899231 #319239
monochromatic
#271236 #492264 #6A3192 #8B41BF #A76FCF

Accessibility & contrast

On white

8.51
#6A3192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6A3192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3192
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3192#FFFFFF#000000##FFFFFF
##6A31921.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A95
Deuteranopia (green-blind)
#1F4D90
Tritanopia (blue-blind)
#64455D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6a3192;
/* rgb */ color: rgb(106, 49, 146);
/* oklch */ color: oklch(43.7% 0.156 308.3);
Tailwind
colors: {
  custom: {
    50: '#986db3',
    500: '#6a3192',
    950: '#000000',
  },
}
SCSS
$custom: #6a3192;
$custom-light: #986db3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3192",
  "rgb": {
    "r": 106,
    "g": 49,
    "b": 146
  },
  "hsl": {
    "h": 275.258,
    "s": 49.744,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43739,
    "c": 0.15626,
    "h": 308.3
  },
  "luminance": 0.07336
}

Semantic roles & 50–950 ramp

primary
#6A3192
secondary
#89B669
accent
#D94F88
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6A3192

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

Preview Lab → · Contrast checker → · Palette generator →

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