#6D39B2#6D39B2

#6D39B2 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.5% C 0.182 H 299.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#6D39B2
RGBrgb(109, 57, 178)
HSLhsl(266, 51%, 46%)
HSVhsv(266, 68%, 70%)
CMYKcmyk(38.8%, 68%, 0%, 30.2%)
CIE-LABlab(36.73, 47.67, -55.93)
CIE-LCHlch(36.73, 73.49, 310.44°)
OKLaboklab(47.55% 0.0883 -0.1595)
OKLCHoklch(47.55% 0.182 299)
XYZxyz(15.8037, 9.3916, 43.0910)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D39B2 #7EB239
analogous
#3942B2 #6D39B2 #A939B2
triadic
#6D39B2 #B26D39 #39B26D
tetradic
#6D39B2 #B23942 #7EB239 #39B2A9
square
#6D39B2 #B23942 #7EB239 #39B2A9
split-complementary
#6D39B2 #B2A939 #42B239
monochromatic
#341B55 #512A84 #6D39B2 #8C5DCB #AD8BDA

Accessibility & contrast

On white

7.30
#6D39B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6D39B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D39B2
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D39B2#FFFFFF#000000##FFFFFF
##6D39B21.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#5D5571
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6d39b2;
/* rgb */ color: rgb(109, 57, 178);
/* oklch */ color: oklch(47.5% 0.182 299.0);
Tailwind
colors: {
  custom: {
    50: '#9c73ca',
    500: '#6d39b2',
    950: '#000000',
  },
}
SCSS
$custom: #6d39b2;
$custom-light: #9c73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6d39b2",
  "rgb": {
    "r": 109,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 265.785,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47546,
    "c": 0.18229,
    "h": 299
  },
  "luminance": 0.09392
}

Semantic roles & 50–950 ramp

primary
#6D39B2
secondary
#A8C482
accent
#DB4D9E
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6D39B2

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

Preview Lab → · Contrast checker → · Palette generator →

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