#6E38BA#6E38BA

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

Color values

HEX#6E38BA
RGBrgb(110, 56, 186)
HSLhsl(265, 54%, 47%)
HSVhsv(265, 70%, 73%)
CMYKcmyk(40.9%, 69.9%, 0%, 27.1%)
CIE-LABlab(37.28, 50.43, -59.76)
CIE-LCHlch(37.28, 78.20, 310.16°)
OKLaboklab(48.16% 0.0895 -0.1707)
OKLCHoklch(48.16% 0.193 297.7)
XYZxyz(16.7052, 9.6882, 47.4347)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E38BA #84BA38
analogous
#3843BA #6E38BA #AF38BA
triadic
#6E38BA #BA6E38 #38BA6E
tetradic
#6E38BA #BA3843 #84BA38 #38BAAF
square
#6E38BA #BA3843 #84BA38 #38BAAF
split-complementary
#6E38BA #BAAF38 #43BA38
monochromatic
#361C5C #522A8B #6E38BA #8E60CF #B08FDD

Accessibility & contrast

On white

7.15
#6E38BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#6E38BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E38BA
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E38BA#FFFFFF#000000##FFFFFF
##6E38BA1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e38ba;
/* rgb */ color: rgb(110, 56, 186);
/* oklch */ color: oklch(48.2% 0.193 297.7);
Tailwind
colors: {
  custom: {
    50: '#9e73d0',
    500: '#6e38ba',
    950: '#000000',
  },
}
SCSS
$custom: #6e38ba;
$custom-light: #9e73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e38ba",
  "rgb": {
    "r": 110,
    "g": 56,
    "b": 186
  },
  "hsl": {
    "h": 264.923,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48157,
    "c": 0.19274,
    "h": 297.7
  },
  "luminance": 0.09689
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6E38BA

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

Preview Lab → · Contrast checker → · Palette generator →

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