#6C39C0#6C39C0

#6C39C0 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.6% C 0.198 H 295.3°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#6C39C0
RGBrgb(108, 57, 192)
HSLhsl(263, 54%, 49%)
HSVhsv(263, 70%, 75%)
CMYKcmyk(43.7%, 70.3%, 0%, 24.7%)
CIE-LABlab(37.70, 51.13, -62.61)
CIE-LCHlch(37.70, 80.83, 309.24°)
OKLaboklab(48.55% 0.0846 -0.1791)
OKLCHoklch(48.55% 0.198 295.3)
XYZxyz(17.1594, 9.9198, 50.8696)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C39C0 #8DC039
analogous
#3949C0 #6C39C0 #B039C0
triadic
#6C39C0 #C06C39 #39C06C
tetradic
#6C39C0 #C03949 #8DC039 #39C0B0
square
#6C39C0 #C03949 #8DC039 #39C0B0
split-complementary
#6C39C0 #C0B039 #49C039
monochromatic
#371D62 #512B91 #6C39C0 #8E65D1 #B194DF

Accessibility & contrast

On white

7.04
#6C39C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6C39C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C39C0
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C39C0#FFFFFF#000000##FFFFFF
##6C39C01.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#555B78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6c39c0;
/* rgb */ color: rgb(108, 57, 192);
/* oklch */ color: oklch(48.6% 0.198 295.3);
Tailwind
colors: {
  custom: {
    50: '#9d73d4',
    500: '#6c39c0',
    950: '#000000',
  },
}
SCSS
$custom: #6c39c0;
$custom-light: #9d73d4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c39c0",
  "rgb": {
    "r": 108,
    "g": 57,
    "b": 192
  },
  "hsl": {
    "h": 262.667,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48553,
    "c": 0.19811,
    "h": 295.3
  },
  "luminance": 0.0992
}

Semantic roles & 50–950 ramp

primary
#6C39C0
secondary
#B2CB8A
accent
#DE4AA6
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6C39C0

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

Preview Lab → · Contrast checker → · Palette generator →

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