#6A3EE1#6A3EE1

#6A3EE1 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.8% C 0.230 H 287.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#6A3EE1
RGBrgb(106, 62, 225)
HSLhsl(256, 73%, 56%)
HSVhsv(256, 72%, 88%)
CMYKcmyk(52.9%, 72.4%, 0%, 11.8%)
CIE-LABlab(41.13, 57.24, -76.07)
CIE-LCHlch(41.13, 95.20, 306.96°)
OKLaboklab(51.79% 0.0706 -0.2187)
OKLCHoklch(51.79% 0.23 287.9)
XYZxyz(21.2531, 11.9446, 72.4052)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3EE1 #B5E13E
analogous
#3E64E1 #6A3EE1 #BB3EE1
triadic
#6A3EE1 #E16A3E #3EE16A
tetradic
#6A3EE1 #E13E64 #B5E13E #3EE1BB
square
#6A3EE1 #E13E64 #B5E13E #3EE1BB
split-complementary
#6A3EE1 #E1BB3E #64E13E
monochromatic
#37168E #4B1EC3 #6A3EE1 #9373E9 #BCA8F1

Accessibility & contrast

On white

6.20
#6A3EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6A3EE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3EE1
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3EE1#FFFFFF#000000##FFFFFF
##6A3EE11.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E6
Deuteranopia (green-blind)
#005DDE
Tritanopia (blue-blind)
#3A6A8C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a3ee1;
/* rgb */ color: rgb(106, 62, 225);
/* oklch */ color: oklch(51.8% 0.230 287.9);
Tailwind
colors: {
  custom: {
    50: '#a077ec',
    500: '#6a3ee1',
    950: '#000000',
  },
}
SCSS
$custom: #6a3ee1;
$custom-light: #a077ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3ee1",
  "rgb": {
    "r": 106,
    "g": 62,
    "b": 225
  },
  "hsl": {
    "h": 256.196,
    "s": 73.094,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51787,
    "c": 0.22984,
    "h": 287.9
  },
  "luminance": 0.11946
}

Semantic roles & 50–950 ramp

primary
#6A3EE1
secondary
#CDDF9C
accent
#F038BE
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6A3EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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