#6E39B7#6E39B7

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

Color values

HEX#6E39B7
RGBrgb(110, 57, 183)
HSLhsl(265, 53%, 47%)
HSVhsv(265, 69%, 72%)
CMYKcmyk(39.9%, 68.9%, 0%, 28.2%)
CIE-LABlab(37.23, 49.16, -58.07)
CIE-LCHlch(37.23, 76.09, 310.25°)
OKLaboklab(48.05% 0.089 -0.1657)
OKLCHoklch(48.05% 0.188 298.2)
XYZxyz(16.4386, 9.6599, 45.7890)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E39B7 #82B739
analogous
#3943B7 #6E39B7 #AD39B7
triadic
#6E39B7 #B76E39 #39B76E
tetradic
#6E39B7 #B73943 #82B739 #39B7AD
square
#6E39B7 #B73943 #82B739 #39B7AD
split-complementary
#6E39B7 #B7AD39 #43B739
monochromatic
#361C5A #522A88 #6E39B7 #8E60CD #AF8EDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E39B7#FFFFFF#000000##FFFFFF
##6E39B71.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)
#0058BB
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#5C5773
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6e39b7;
/* rgb */ color: rgb(110, 57, 183);
/* oklch */ color: oklch(48.0% 0.188 298.2);
Tailwind
colors: {
  custom: {
    50: '#9d73cd',
    500: '#6e39b7',
    950: '#000000',
  },
}
SCSS
$custom: #6e39b7;
$custom-light: #9d73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6e39b7",
  "rgb": {
    "r": 110,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 265.238,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48048,
    "c": 0.18811,
    "h": 298.2
  },
  "luminance": 0.0966
}

Semantic roles & 50–950 ramp

primary
#6E39B7
secondary
#ABC785
accent
#DC4C9F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6E39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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