#6C3FD2#6C3FD2

#6C3FD2 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.8% C 0.212 H 290.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#6C3FD2
RGBrgb(108, 63, 210)
HSLhsl(258, 62%, 54%)
HSVhsv(258, 70%, 82%)
CMYKcmyk(48.6%, 70%, 0%, 17.6%)
CIE-LABlab(40.24, 52.95, -68.92)
CIE-LCHlch(40.24, 86.91, 307.53°)
OKLaboklab(50.81% 0.0757 -0.1977)
OKLCHoklch(50.81% 0.212 290.9)
XYZxyz(19.5914, 11.3955, 62.1276)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3FD2 #A5D23F
analogous
#3F5BD2 #6C3FD2 #B53FD2
triadic
#6C3FD2 #D26C3F #3FD26C
tetradic
#6C3FD2 #D23F5B #A5D23F #3FD2B5
square
#6C3FD2 #D23F5B #A5D23F #3FD2B5
split-complementary
#6C3FD2 #D2B53F #5BD23F
monochromatic
#391D7A #5028AC #6C3FD2 #9271DE #B8A2E9

Accessibility & contrast

On white

6.40
#6C3FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6C3FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C3FD2
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3FD2#FFFFFF#000000##FFFFFF
##6C3FD21.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#005CCF
Tritanopia (blue-blind)
#4A6584
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6c3fd2;
/* rgb */ color: rgb(108, 63, 210);
/* oklch */ color: oklch(50.8% 0.212 290.9);
Tailwind
colors: {
  custom: {
    50: '#9f78e1',
    500: '#6c3fd2',
    950: '#000000',
  },
}
SCSS
$custom: #6c3fd2;
$custom-light: #9f78e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3fd2",
  "rgb": {
    "r": 108,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 258.367,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50814,
    "c": 0.21168,
    "h": 290.9
  },
  "luminance": 0.11396
}

Semantic roles & 50–950 ramp

primary
#6C3FD2
secondary
#C3D697
accent
#E543B3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #6C3FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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