#6E39BA#6E39BA

#6E39BA is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.3% C 0.192 H 297.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#6E39BA
RGBrgb(110, 57, 186)
HSLhsl(265, 53%, 48%)
HSVhsv(265, 69%, 73%)
CMYKcmyk(40.9%, 69.4%, 0%, 27.1%)
CIE-LABlab(37.46, 49.94, -59.47)
CIE-LCHlch(37.46, 77.65, 310.02°)
OKLaboklab(48.29% 0.0885 -0.1698)
OKLCHoklch(48.29% 0.192 297.5)
XYZxyz(16.7542, 9.7861, 47.4511)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E39BA #85BA39
analogous
#3945BA #6E39BA #AE39BA
triadic
#6E39BA #BA6E39 #39BA6E
tetradic
#6E39BA #BA3945 #85BA39 #39BAAE
square
#6E39BA #BA3945 #85BA39 #39BAAE
split-complementary
#6E39BA #BAAE39 #45BA39
monochromatic
#371C5C #522B8B #6E39BA #8E61CF #B090DD

Accessibility & contrast

On white

7.10
#6E39BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#6E39BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E39BA
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E39BA#FFFFFF#000000##FFFFFF
##6E39BA1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#5B5875
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6e39ba;
/* rgb */ color: rgb(110, 57, 186);
/* oklch */ color: oklch(48.3% 0.192 297.5);
Tailwind
colors: {
  custom: {
    50: '#9e73d0',
    500: '#6e39ba',
    950: '#000000',
  },
}
SCSS
$custom: #6e39ba;
$custom-light: #9e73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e39ba",
  "rgb": {
    "r": 110,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 264.651,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48285,
    "c": 0.19152,
    "h": 297.5
  },
  "luminance": 0.09786
}

Semantic roles & 50–950 ramp

primary
#6E39BA
secondary
#ADC887
accent
#DC4BA1
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6E39BA

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

Preview Lab → · Contrast checker → · Palette generator →

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