#6E38BE#6E38BE

#6E38BE is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.5% C 0.197 H 296.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#6E38BE
RGBrgb(110, 56, 190)
HSLhsl(264, 54%, 48%)
HSVhsv(264, 71%, 75%)
CMYKcmyk(42.1%, 70.5%, 0%, 25.5%)
CIE-LABlab(37.59, 51.47, -61.60)
CIE-LCHlch(37.59, 80.27, 309.88°)
OKLaboklab(48.48% 0.0888 -0.1761)
OKLCHoklch(48.48% 0.197 296.8)
XYZxyz(17.1364, 9.8607, 49.7057)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E38BE #88BE38
analogous
#3845BE #6E38BE #B138BE
triadic
#6E38BE #BE6E38 #38BE6E
tetradic
#6E38BE #BE3845 #88BE38 #38BEB1
square
#6E38BE #BE3845 #88BE38 #38BEB1
split-complementary
#6E38BE #BEB138 #45BE38
monochromatic
#371C5F #532A8F #6E38BE #8F62D1 #B192DF

Accessibility & contrast

On white

7.07
#6E38BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6E38BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E38BE
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E38BE#FFFFFF#000000##FFFFFF
##6E38BE1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#595977
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6e38be;
/* rgb */ color: rgb(110, 56, 190);
/* oklch */ color: oklch(48.5% 0.197 296.8);
Tailwind
colors: {
  custom: {
    50: '#9e73d3',
    500: '#6e38be',
    950: '#000000',
  },
}
SCSS
$custom: #6e38be;
$custom-light: #9e73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e38be",
  "rgb": {
    "r": 110,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 264.179,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48479,
    "c": 0.19722,
    "h": 296.8
  },
  "luminance": 0.09861
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6E38BE

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

Preview Lab → · Contrast checker → · Palette generator →

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