#6C3FE4#6C3FE4

#6C3FE4 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.4% C 0.232 H 288.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#6C3FE4
RGBrgb(108, 63, 228)
HSLhsl(256, 75%, 57%)
HSVhsv(256, 72%, 89%)
CMYKcmyk(52.6%, 72.4%, 0%, 10.6%)
CIE-LABlab(41.76, 57.86, -76.74)
CIE-LCHlch(41.76, 96.11, 307.02°)
OKLaboklab(52.36% 0.072 -0.2206)
OKLCHoklch(52.36% 0.232 288.1)
XYZxyz(21.9613, 12.3435, 74.6091)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3FE4 #B7E43F
analogous
#3F64E4 #6C3FE4 #BF3FE4
triadic
#6C3FE4 #E46C3F #3FE46C
tetradic
#6C3FE4 #E43F64 #B7E43F #3FE4BF
square
#6C3FE4 #E43F64 #B7E43F #3FE4BF
split-complementary
#6C3FE4 #E4BF3F #64E43F
monochromatic
#371594 #4C1CC9 #6C3FE4 #9575EC #BEAAF3

Accessibility & contrast

On white

6.05
#6C3FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6C3FE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C3FE4
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3FE4#FFFFFF#000000##FFFFFF
##6C3FE41.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E9
Deuteranopia (green-blind)
#005EE1
Tritanopia (blue-blind)
#3C6C8E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6c3fe4;
/* rgb */ color: rgb(108, 63, 228);
/* oklch */ color: oklch(52.4% 0.232 288.1);
Tailwind
colors: {
  custom: {
    50: '#a178ee',
    500: '#6c3fe4',
    950: '#000000',
  },
}
SCSS
$custom: #6c3fe4;
$custom-light: #a178ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3fe4",
  "rgb": {
    "r": 108,
    "g": 63,
    "b": 228
  },
  "hsl": {
    "h": 256.364,
    "s": 75.342,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52357,
    "c": 0.23207,
    "h": 288.1
  },
  "luminance": 0.12345
}

Semantic roles & 50–950 ramp

primary
#6C3FE4
secondary
#CFE19E
accent
#F236BF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100917
muted
#7F7B85

Preview Lab

Preview with #6C3FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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