#6D39BF#6D39BF

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

Color values

HEX#6D39BF
RGBrgb(109, 57, 191)
HSLhsl(263, 54%, 49%)
HSVhsv(263, 70%, 75%)
CMYKcmyk(42.9%, 70.2%, 0%, 25.1%)
CIE-LABlab(37.73, 51.05, -61.96)
CIE-LCHlch(37.73, 80.28, 309.49°)
OKLaboklab(48.58% 0.0862 -0.1772)
OKLCHoklch(48.58% 0.197 295.9)
XYZxyz(17.1713, 9.9387, 50.2938)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D39BF #8BBF39
analogous
#3948BF #6D39BF #B039BF
triadic
#6D39BF #BF6D39 #39BF6D
tetradic
#6D39BF #BF3948 #8BBF39 #39BFB0
square
#6D39BF #BF3948 #8BBF39 #39BFB0
split-complementary
#6D39BF #BFB039 #48BF39
monochromatic
#371D61 #522B90 #6D39BF #8E64D1 #B193DF

Accessibility & contrast

On white

7.03
#6D39BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6D39BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D39BF
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D39BF#FFFFFF#000000##FFFFFF
##6D39BF1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#575A78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6d39bf;
/* rgb */ color: rgb(109, 57, 191);
/* oklch */ color: oklch(48.6% 0.197 295.9);
Tailwind
colors: {
  custom: {
    50: '#9e74d3',
    500: '#6d39bf',
    950: '#000000',
  },
}
SCSS
$custom: #6d39bf;
$custom-light: #9e74d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d39bf",
  "rgb": {
    "r": 109,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 263.284,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48578,
    "c": 0.19706,
    "h": 295.9
  },
  "luminance": 0.09939
}

Semantic roles & 50–950 ramp

primary
#6D39BF
secondary
#B1CA8A
accent
#DD4AA4
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6D39BF

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

Preview Lab → · Contrast checker → · Palette generator →

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