#6A3DAF#6A3DAF

#6A3DAF is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.5% C 0.173 H 297.6°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#6A3DAF
RGBrgb(106, 61, 175)
HSLhsl(264, 48%, 46%)
HSVhsv(264, 65%, 69%)
CMYKcmyk(39.4%, 65.1%, 0%, 31.4%)
CIE-LABlab(36.92, 44.16, -53.85)
CIE-LCHlch(36.92, 69.64, 309.36°)
OKLaboklab(47.54% 0.0801 -0.1534)
OKLCHoklch(47.54% 0.173 297.6)
XYZxyz(15.3485, 9.4966, 41.5735)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3DAF #82AF3D
analogous
#3D49AF #6A3DAF #A33DAF
triadic
#6A3DAF #AF6A3D #3DAF6A
tetradic
#6A3DAF #AF3D49 #82AF3D #3DAFA3
square
#6A3DAF #AF3D49 #82AF3D #3DAFA3
split-complementary
#6A3DAF #AFA33D #49AF3D
monochromatic
#331D54 #4F2D82 #6A3DAF #8A61C8 #AB8FD8

Accessibility & contrast

On white

7.24
#6A3DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6A3DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3DAF
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3DAF#FFFFFF#000000##FFFFFF
##6A3DAF1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#595770
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6a3daf;
/* rgb */ color: rgb(106, 61, 175);
/* oklch */ color: oklch(47.5% 0.173 297.6);
Tailwind
colors: {
  custom: {
    50: '#9a75c8',
    500: '#6a3daf',
    950: '#000000',
  },
}
SCSS
$custom: #6a3daf;
$custom-light: #9a75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3daf",
  "rgb": {
    "r": 106,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 263.684,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47538,
    "c": 0.17308,
    "h": 297.6
  },
  "luminance": 0.09497
}

Semantic roles & 50–950 ramp

primary
#6A3DAF
secondary
#AAC385
accent
#D850A2
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6A3DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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