#6A3CAF#6A3CAF

#6A3CAF is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.4% C 0.174 H 297.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#6A3CAF
RGBrgb(106, 60, 175)
HSLhsl(264, 49%, 46%)
HSVhsv(264, 66%, 69%)
CMYKcmyk(39.4%, 65.7%, 0%, 31.4%)
CIE-LABlab(36.73, 44.70, -54.17)
CIE-LCHlch(36.73, 70.23, 309.53°)
OKLaboklab(47.4% 0.0812 -0.1544)
OKLCHoklch(47.4% 0.174 297.7)
XYZxyz(15.2956, 9.3908, 41.5559)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3CAF #81AF3C
analogous
#3C47AF #6A3CAF #A33CAF
triadic
#6A3CAF #AF6A3C #3CAF6A
tetradic
#6A3CAF #AF3C47 #81AF3C #3CAFA3
square
#6A3CAF #AF3C47 #81AF3C #3CAFA3
split-complementary
#6A3CAF #AFA33C #47AF3C
monochromatic
#331D54 #4E2C81 #6A3CAF #8A60C8 #AB8DD8

Accessibility & contrast

On white

7.30
#6A3CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6A3CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3CAF
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3CAF#FFFFFF#000000##FFFFFF
##6A3CAF1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#595670
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6a3caf;
/* rgb */ color: rgb(106, 60, 175);
/* oklch */ color: oklch(47.4% 0.174 297.7);
Tailwind
colors: {
  custom: {
    50: '#9a75c8',
    500: '#6a3caf',
    950: '#000000',
  },
}
SCSS
$custom: #6a3caf;
$custom-light: #9a75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3caf",
  "rgb": {
    "r": 106,
    "g": 60,
    "b": 175
  },
  "hsl": {
    "h": 264,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47396,
    "c": 0.17444,
    "h": 297.7
  },
  "luminance": 0.09391
}

Semantic roles & 50–950 ramp

primary
#6A3CAF
secondary
#AAC384
accent
#D84FA2
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6A3CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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