#6E38BD#6E38BD

#6E38BD is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.4% C 0.196 H 297.0°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#6E38BD
RGBrgb(110, 56, 189)
HSLhsl(264, 54%, 48%)
HSVhsv(264, 70%, 74%)
CMYKcmyk(41.8%, 70.4%, 0%, 25.9%)
CIE-LABlab(37.51, 51.21, -61.14)
CIE-LCHlch(37.51, 79.75, 309.95°)
OKLaboklab(48.4% 0.089 -0.1747)
OKLCHoklch(48.4% 0.196 297)
XYZxyz(17.0275, 9.8171, 49.1320)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E38BD #87BD38
analogous
#3844BD #6E38BD #B038BD
triadic
#6E38BD #BD6E38 #38BD6E
tetradic
#6E38BD #BD3844 #87BD38 #38BDB0
square
#6E38BD #BD3844 #87BD38 #38BDB0
split-complementary
#6E38BD #BDB038 #44BD38
monochromatic
#371C5F #532A8E #6E38BD #8F62D0 #B091DE

Accessibility & contrast

On white

7.09
#6E38BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E38BD
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E38BD#FFFFFF#000000##FFFFFF
##6E38BD1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#5A5976
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6e38bd;
/* rgb */ color: rgb(110, 56, 189);
/* oklch */ color: oklch(48.4% 0.196 297.0);
Tailwind
colors: {
  custom: {
    50: '#9e73d2',
    500: '#6e38bd',
    950: '#000000',
  },
}
SCSS
$custom: #6e38bd;
$custom-light: #9e73d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e38bd",
  "rgb": {
    "r": 110,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 264.361,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48398,
    "c": 0.1961,
    "h": 297
  },
  "luminance": 0.09817
}

Semantic roles & 50–950 ramp

primary
#6E38BD
secondary
#AFC987
accent
#DE4AA2
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6E38BD

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

Preview Lab → · Contrast checker → · Palette generator →

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