#6E38BB#6E38BB

#6E38BB is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.2% C 0.194 H 297.4°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#6E38BB
RGBrgb(110, 56, 187)
HSLhsl(265, 54%, 48%)
HSVhsv(265, 70%, 73%)
CMYKcmyk(41.2%, 70.1%, 0%, 26.7%)
CIE-LABlab(37.36, 50.69, -60.22)
CIE-LCHlch(37.36, 78.71, 310.09°)
OKLaboklab(48.24% 0.0894 -0.172)
OKLCHoklch(48.24% 0.194 297.4)
XYZxyz(16.8119, 9.7309, 47.9966)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E38BB #85BB38
analogous
#3843BB #6E38BB #AF38BB
triadic
#6E38BB #BB6E38 #38BB6E
tetradic
#6E38BB #BB3843 #85BB38 #38BBAF
square
#6E38BB #BB3843 #85BB38 #38BBAF
split-complementary
#6E38BB #BBAF38 #43BB38
monochromatic
#371C5D #522A8C #6E38BB #8E61D0 #B090DE

Accessibility & contrast

On white

7.13
#6E38BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6E38BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E38BB
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E38BB#FFFFFF#000000##FFFFFF
##6E38BB1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#5B5875
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6e38bb;
/* rgb */ color: rgb(110, 56, 187);
/* oklch */ color: oklch(48.2% 0.194 297.4);
Tailwind
colors: {
  custom: {
    50: '#9e73d0',
    500: '#6e38bb',
    950: '#000000',
  },
}
SCSS
$custom: #6e38bb;
$custom-light: #9e73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e38bb",
  "rgb": {
    "r": 110,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 264.733,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48238,
    "c": 0.19385,
    "h": 297.4
  },
  "luminance": 0.09731
}

Semantic roles & 50–950 ramp

primary
#6E38BB
secondary
#ADC886
accent
#DD4BA1
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6E38BB

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

Preview Lab → · Contrast checker → · Palette generator →

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