#6B38BE#6B38BE

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

Color values

HEX#6B38BE
RGBrgb(107, 56, 190)
HSLhsl(263, 54%, 48%)
HSVhsv(263, 71%, 75%)
CMYKcmyk(43.7%, 70.5%, 0%, 25.5%)
CIE-LABlab(37.25, 50.92, -62.18)
CIE-LCHlch(37.25, 80.37, 309.32°)
OKLaboklab(48.16% 0.0845 -0.1779)
OKLCHoklch(48.16% 0.197 295.4)
XYZxyz(16.7694, 9.6714, 49.6885)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B38BE #8BBE38
analogous
#3848BE #6B38BE #AE38BE
triadic
#6B38BE #BE6B38 #38BE6B
tetradic
#6B38BE #BE3848 #8BBE38 #38BEAE
square
#6B38BE #BE3848 #8BBE38 #38BEAE
split-complementary
#6B38BE #BEAE38 #48BE38
monochromatic
#361C5F #502A8F #6B38BE #8C62D1 #AF92DF

Accessibility & contrast

On white

7.16
#6B38BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6B38BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B38BE
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B38BE#FFFFFF#000000##FFFFFF
##6B38BE1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#0056BB
Tritanopia (blue-blind)
#545A77
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6b38be;
/* rgb */ color: rgb(107, 56, 190);
/* oklch */ color: oklch(48.2% 0.197 295.4);
Tailwind
colors: {
  custom: {
    50: '#9c73d3',
    500: '#6b38be',
    950: '#000000',
  },
}
SCSS
$custom: #6b38be;
$custom-light: #9c73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b38be",
  "rgb": {
    "r": 107,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 262.836,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48156,
    "c": 0.19694,
    "h": 295.4
  },
  "luminance": 0.09672
}

Semantic roles & 50–950 ramp

primary
#6B38BE
secondary
#B1CA88
accent
#DE4AA6
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6B38BE

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

Preview Lab → · Contrast checker → · Palette generator →

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