#6A3DEE#6A3DEE

#6A3DEE is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.8% C 0.245 H 286.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#6A3DEE
RGBrgb(106, 61, 238)
HSLhsl(255, 84%, 59%)
HSVhsv(255, 74%, 93%)
CMYKcmyk(55.5%, 74.4%, 0%, 6.7%)
CIE-LABlab(42.11, 61.27, -81.83)
CIE-LCHlch(42.11, 102.23, 306.83°)
OKLaboklab(52.83% 0.0682 -0.2356)
OKLCHoklch(52.83% 0.245 286.2)
XYZxyz(23.0406, 12.5734, 82.0852)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3DEE #C1EE3D
analogous
#3D68EE #6A3DEE #C23DEE
triadic
#6A3DEE #EE6A3D #3DEE6A
tetradic
#6A3DEE #EE3D68 #C1EE3D #3DEEC2
square
#6A3DEE #EE3D68 #C1EE3D #3DEEC2
split-complementary
#6A3DEE #EEC23D #68EE3D
monochromatic
#340EA2 #4613DB #6A3DEE #9575F3 #C0AEF8

Accessibility & contrast

On white

5.97
#6A3DEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6A3DEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3DEE
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3DEE#FFFFFF#000000##FFFFFF
##6A3DEE1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068F3
Deuteranopia (green-blind)
#005EEB
Tritanopia (blue-blind)
#2B6F93
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6a3dee;
/* rgb */ color: rgb(106, 61, 238);
/* oklch */ color: oklch(52.8% 0.245 286.2);
Tailwind
colors: {
  custom: {
    50: '#a277f5',
    500: '#6a3dee',
    950: '#000000',
  },
}
SCSS
$custom: #6a3dee;
$custom-light: #a277f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3dee",
  "rgb": {
    "r": 106,
    "g": 61,
    "b": 238
  },
  "hsl": {
    "h": 255.254,
    "s": 83.886,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52832,
    "c": 0.24526,
    "h": 286.2
  },
  "luminance": 0.12575
}

Semantic roles & 50–950 ramp

primary
#6A3DEE
secondary
#D5E6A0
accent
#FA2EC6
background
#FAF7FF
surface
#F4EDFF
border
#CEC8D7
text
#100917
muted
#7F7B85

Preview Lab

Preview with #6A3DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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