#6C39BA#6C39BA

#6C39BA is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.1% C 0.191 H 296.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#6C39BA
RGBrgb(108, 57, 186)
HSLhsl(264, 53%, 48%)
HSVhsv(264, 69%, 73%)
CMYKcmyk(41.9%, 69.4%, 0%, 27.1%)
CIE-LABlab(37.22, 49.56, -59.86)
CIE-LCHlch(37.22, 77.71, 309.62°)
OKLaboklab(48.07% 0.0857 -0.171)
OKLCHoklch(48.07% 0.191 296.6)
XYZxyz(16.5081, 9.6592, 47.4395)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C39BA #87BA39
analogous
#3947BA #6C39BA #AC39BA
triadic
#6C39BA #BA6C39 #39BA6C
tetradic
#6C39BA #BA3947 #87BA39 #39BAAC
square
#6C39BA #BA3947 #87BA39 #39BAAC
split-complementary
#6C39BA #BAAC39 #47BA39
monochromatic
#361C5C #512B8B #6C39BA #8D61CF #AF90DD

Accessibility & contrast

On white

7.16
#6C39BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6C39BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C39BA
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C39BA#FFFFFF#000000##FFFFFF
##6C39BA1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#585975
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6c39ba;
/* rgb */ color: rgb(108, 57, 186);
/* oklch */ color: oklch(48.1% 0.191 296.6);
Tailwind
colors: {
  custom: {
    50: '#9c73d0',
    500: '#6c39ba',
    950: '#000000',
  },
}
SCSS
$custom: #6c39ba;
$custom-light: #9c73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c39ba",
  "rgb": {
    "r": 108,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 263.721,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48067,
    "c": 0.1913,
    "h": 296.6
  },
  "luminance": 0.0966
}

Semantic roles & 50–950 ramp

primary
#6C39BA
secondary
#AEC887
accent
#DC4BA3
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6C39BA

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

Preview Lab → · Contrast checker → · Palette generator →

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