#6D39B4#6D39B4

#6D39B4 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.7% C 0.185 H 298.5°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#6D39B4
RGBrgb(109, 57, 180)
HSLhsl(265, 52%, 46%)
HSVhsv(265, 68%, 71%)
CMYKcmyk(39.4%, 68.3%, 0%, 29.4%)
CIE-LABlab(36.88, 48.19, -56.87)
CIE-LCHlch(36.88, 74.54, 310.28°)
OKLaboklab(47.7% 0.088 -0.1622)
OKLCHoklch(47.7% 0.185 298.5)
XYZxyz(16.0059, 9.4725, 44.1563)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D39B4 #80B439
analogous
#3943B4 #6D39B4 #AB39B4
triadic
#6D39B4 #B46D39 #39B46D
tetradic
#6D39B4 #B43943 #80B439 #39B4AB
square
#6D39B4 #B43943 #80B439 #39B4AB
split-complementary
#6D39B4 #B4AB39 #43B439
monochromatic
#351C57 #512A86 #6D39B4 #8D5ECC #AE8DDB

Accessibility & contrast

On white

7.25
#6D39B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6D39B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D39B4
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D39B4#FFFFFF#000000##FFFFFF
##6D39B41.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#5C5672
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6d39b4;
/* rgb */ color: rgb(109, 57, 180);
/* oklch */ color: oklch(47.7% 0.185 298.5);
Tailwind
colors: {
  custom: {
    50: '#9c73cb',
    500: '#6d39b4',
    950: '#000000',
  },
}
SCSS
$custom: #6d39b4;
$custom-light: #9c73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d39b4",
  "rgb": {
    "r": 109,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 265.366,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47702,
    "c": 0.18457,
    "h": 298.5
  },
  "luminance": 0.09473
}

Semantic roles & 50–950 ramp

primary
#6D39B4
secondary
#A9C583
accent
#DB4C9F
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6D39B4

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

Preview Lab → · Contrast checker → · Palette generator →

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