#6B39CC#6B39CC

#6B39CC is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.5% C 0.212 H 292.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#6B39CC
RGBrgb(107, 57, 204)
HSLhsl(260, 59%, 51%)
HSVhsv(260, 72%, 80%)
CMYKcmyk(47.5%, 72.1%, 0%, 20%)
CIE-LABlab(38.57, 54.14, -68.18)
CIE-LCHlch(38.57, 87.07, 308.45°)
OKLaboklab(49.45% 0.0808 -0.1955)
OKLCHoklch(49.45% 0.212 292.4)
XYZxyz(18.4226, 10.4111, 58.1539)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B39CC #9ACC39
analogous
#3950CC #6B39CC #B439CC
triadic
#6B39CC #CC6B39 #39CC6B
tetradic
#6B39CC #CC3950 #9ACC39 #39CCB4
square
#6B39CC #CC3950 #9ACC39 #39CCB4
split-complementary
#6B39CC #CCB439 #50CC39
monochromatic
#381C6E #51299F #6B39CC #8F6AD9 #B49AE5

Accessibility & contrast

On white

6.81
#6B39CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#6B39CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B39CC
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B39CC#FFFFFF#000000##FFFFFF
##6B39CC1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0058C9
Tritanopia (blue-blind)
#4D5F7F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6b39cc;
/* rgb */ color: rgb(107, 57, 204);
/* oklch */ color: oklch(49.5% 0.212 292.4);
Tailwind
colors: {
  custom: {
    50: '#9e74dd',
    500: '#6b39cc',
    950: '#000000',
  },
}
SCSS
$custom: #6b39cc;
$custom-light: #9e74dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b39cc",
  "rgb": {
    "r": 107,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 260.408,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49451,
    "c": 0.21156,
    "h": 292.4
  },
  "luminance": 0.10412
}

Semantic roles & 50–950 ramp

primary
#6B39CC
secondary
#BBD190
accent
#E246AD
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6B39CC

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

Preview Lab → · Contrast checker → · Palette generator →

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