#6E38CD#6E38CD

#6E38CD is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.7% C 0.214 H 293.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#6E38CD
RGBrgb(110, 56, 205)
HSLhsl(262, 60%, 51%)
HSVhsv(262, 73%, 80%)
CMYKcmyk(46.3%, 72.7%, 0%, 19.6%)
CIE-LABlab(38.81, 55.38, -68.35)
CIE-LCHlch(38.81, 87.97, 309.01°)
OKLaboklab(49.72% 0.0858 -0.1959)
OKLCHoklch(49.72% 0.214 293.6)
XYZxyz(18.8610, 10.5505, 58.7885)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E38CD #97CD38
analogous
#384CCD #6E38CD #B838CD
triadic
#6E38CD #CD6E38 #38CD6E
tetradic
#6E38CD #CD384C #97CD38 #38CDB8
square
#6E38CD #CD384C #97CD38 #38CDB8
split-complementary
#6E38CD #CDB838 #4CCD38
monochromatic
#3A1C6F #5328A0 #6E38CD #9269D9 #B59AE6

Accessibility & contrast

On white

6.75
#6E38CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#6E38CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E38CD
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E38CD#FFFFFF#000000##FFFFFF
##6E38CD1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD1
Deuteranopia (green-blind)
#0059CA
Tritanopia (blue-blind)
#525F7F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6e38cd;
/* rgb */ color: rgb(110, 56, 205);
/* oklch */ color: oklch(49.7% 0.214 293.6);
Tailwind
colors: {
  custom: {
    50: '#a074dd',
    500: '#6e38cd',
    950: '#000000',
  },
}
SCSS
$custom: #6e38cd;
$custom-light: #a074dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6e38cd",
  "rgb": {
    "r": 110,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 261.745,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49724,
    "c": 0.21386,
    "h": 293.6
  },
  "luminance": 0.10551
}

Semantic roles & 50–950 ramp

primary
#6E38CD
secondary
#B9D18F
accent
#E345AA
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6E38CD

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

Preview Lab → · Contrast checker → · Palette generator →

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