#6E39B8#6E39B8

#6E39B8 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.1% C 0.189 H 298.0°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#6E39B8
RGBrgb(110, 57, 184)
HSLhsl(265, 53%, 47%)
HSVhsv(265, 69%, 72%)
CMYKcmyk(40.2%, 69%, 0%, 27.8%)
CIE-LABlab(37.30, 49.42, -58.54)
CIE-LCHlch(37.30, 76.61, 310.17°)
OKLaboklab(48.13% 0.0888 -0.1671)
OKLCHoklch(48.13% 0.189 298)
XYZxyz(16.5430, 9.7017, 46.3391)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E39B8 #83B839
analogous
#3944B8 #6E39B8 #AD39B8
triadic
#6E39B8 #B86E39 #39B86E
tetradic
#6E39B8 #B83944 #83B839 #39B8AD
square
#6E39B8 #B83944 #83B839 #39B8AD
split-complementary
#6E39B8 #B8AD39 #44B839
monochromatic
#361C5B #522B89 #6E39B8 #8E60CE #AF8FDC

Accessibility & contrast

On white

7.14
#6E39B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#6E39B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E39B8
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E39B8#FFFFFF#000000##FFFFFF
##6E39B81.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#5C5874
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6e39b8;
/* rgb */ color: rgb(110, 57, 184);
/* oklch */ color: oklch(48.1% 0.189 298.0);
Tailwind
colors: {
  custom: {
    50: '#9e73ce',
    500: '#6e39b8',
    950: '#000000',
  },
}
SCSS
$custom: #6e39b8;
$custom-light: #9e73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6e39b8",
  "rgb": {
    "r": 110,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 265.039,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48127,
    "c": 0.18925,
    "h": 298
  },
  "luminance": 0.09702
}

Semantic roles & 50–950 ramp

primary
#6E39B8
secondary
#ACC786
accent
#DC4CA0
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6E39B8

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

Preview Lab → · Contrast checker → · Palette generator →

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