#6E38BF#6E38BF

#6E38BF is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.6% C 0.198 H 296.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#6E38BF
RGBrgb(110, 56, 191)
HSLhsl(264, 55%, 48%)
HSVhsv(264, 71%, 75%)
CMYKcmyk(42.4%, 70.7%, 0%, 25.1%)
CIE-LABlab(37.67, 51.73, -62.06)
CIE-LCHlch(37.67, 80.79, 309.81°)
OKLaboklab(48.56% 0.0886 -0.1774)
OKLCHoklch(48.56% 0.198 296.5)
XYZxyz(17.2461, 9.9046, 50.2832)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E38BF #89BF38
analogous
#3845BF #6E38BF #B138BF
triadic
#6E38BF #BF6E38 #38BF6E
tetradic
#6E38BF #BF3845 #89BF38 #38BFB1
square
#6E38BF #BF3845 #89BF38 #38BFB1
split-complementary
#6E38BF #BFB138 #45BF38
monochromatic
#371C60 #532A90 #6E38BF #8F63D1 #B192DF

Accessibility & contrast

On white

7.04
#6E38BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6E38BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E38BF
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E38BF#FFFFFF#000000##FFFFFF
##6E38BF1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#595A78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6e38bf;
/* rgb */ color: rgb(110, 56, 191);
/* oklch */ color: oklch(48.6% 0.198 296.5);
Tailwind
colors: {
  custom: {
    50: '#9e73d3',
    500: '#6e38bf',
    950: '#000000',
  },
}
SCSS
$custom: #6e38bf;
$custom-light: #9e73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e38bf",
  "rgb": {
    "r": 110,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 264,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48561,
    "c": 0.19833,
    "h": 296.5
  },
  "luminance": 0.09905
}

Semantic roles & 50–950 ramp

primary
#6E38BF
secondary
#B0CA89
accent
#DE4AA3
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6E38BF

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

Preview Lab → · Contrast checker → · Palette generator →

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