#6A3C83#6A3C83

#6A3C83 is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.4% C 0.121 H 312.4°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#6A3C83
RGBrgb(106, 60, 131)
HSLhsl(279, 37%, 37%)
HSVhsv(279, 54%, 51%)
CMYKcmyk(19.1%, 54.2%, 0%, 48.6%)
CIE-LABlab(33.85, 33.55, -32.10)
CIE-LCHlch(33.85, 46.43, 316.27°)
OKLaboklab(44.38% 0.0818 -0.0897)
OKLCHoklch(44.38% 0.121 312.4)
XYZxyz(11.6557, 7.9348, 22.3859)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3C83 #55833C
analogous
#463C83 #6A3C83 #833C79
triadic
#6A3C83 #836A3C #3C836A
tetradic
#6A3C83 #83463C #55833C #3C7983
square
#6A3C83 #83463C #55833C #3C7983
split-complementary
#6A3C83 #79833C #3C8346
monochromatic
#26162F #482959 #6A3C83 #8C4FAD #A878C1

Accessibility & contrast

On white

8.12
#6A3C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6A3C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3C83
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3C83#FFFFFF#000000##FFFFFF
##6A3C831.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4D85
Deuteranopia (green-blind)
#385181
Tritanopia (blue-blind)
#674859
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6a3c83;
/* rgb */ color: rgb(106, 60, 131);
/* oklch */ color: oklch(44.4% 0.121 312.4);
Tailwind
colors: {
  custom: {
    50: '#9673a7',
    500: '#6a3c83',
    950: '#000000',
  },
}
SCSS
$custom: #6a3c83;
$custom-light: #9673a7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3c83",
  "rgb": {
    "r": 106,
    "g": 60,
    "b": 131
  },
  "hsl": {
    "h": 278.873,
    "s": 37.173,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44375,
    "c": 0.12138,
    "h": 312.4
  },
  "luminance": 0.07935
}

Semantic roles & 50–950 ramp

primary
#6A3C83
secondary
#85AB70
accent
#CD5B83
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E080F
muted
#7E7B7F

Preview Lab

Preview with #6A3C83

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

Preview Lab → · Contrast checker → · Palette generator →

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