#6A3FCC#6A3FCC

#6A3FCC is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.1% C 0.205 H 291.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#6A3FCC
RGBrgb(106, 63, 204)
HSLhsl(258, 58%, 52%)
HSVhsv(258, 69%, 80%)
CMYKcmyk(48%, 69.1%, 0%, 20%)
CIE-LABlab(39.54, 50.97, -66.60)
CIE-LCHlch(39.54, 83.86, 307.43°)
OKLaboklab(50.12% 0.0739 -0.1909)
OKLCHoklch(50.12% 0.205 291.2)
XYZxyz(18.6174, 10.9781, 58.2531)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FCC #A1CC3F
analogous
#3F5ACC #6A3FCC #B13FCC
triadic
#6A3FCC #CC6A3F #3FCC6A
tetradic
#6A3FCC #CC3F5A #A1CC3F #3FCCB1
square
#6A3FCC #CC3F5A #A1CC3F #3FCCB1
split-complementary
#6A3FCC #CCB13F #5ACC3F
monochromatic
#381E72 #502BA3 #6A3FCC #906FD9 #B5A0E6

Accessibility & contrast

On white

6.57
#6A3FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#6A3FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3FCC
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FCC#FFFFFF#000000##FFFFFF
##6A3FCC1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#4A6381
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6a3fcc;
/* rgb */ color: rgb(106, 63, 204);
/* oklch */ color: oklch(50.1% 0.205 291.2);
Tailwind
colors: {
  custom: {
    50: '#9d77dd',
    500: '#6a3fcc',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fcc;
$custom-light: #9d77dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fcc",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 204
  },
  "hsl": {
    "h": 258.298,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50119,
    "c": 0.20475,
    "h": 291.2
  },
  "luminance": 0.10979
}

Semantic roles & 50–950 ramp

primary
#6A3FCC
secondary
#BFD295
accent
#E147B2
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A3FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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