#6B38BD#6B38BD

#6B38BD is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.1% C 0.196 H 295.6°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#6B38BD
RGBrgb(107, 56, 189)
HSLhsl(263, 54%, 48%)
HSVhsv(263, 70%, 74%)
CMYKcmyk(43.4%, 70.4%, 0%, 25.9%)
CIE-LABlab(37.17, 50.66, -61.72)
CIE-LCHlch(37.17, 79.85, 309.38°)
OKLaboklab(48.07% 0.0847 -0.1765)
OKLCHoklch(48.07% 0.196 295.6)
XYZxyz(16.6604, 9.6279, 49.1148)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B38BD #8ABD38
analogous
#3847BD #6B38BD #AE38BD
triadic
#6B38BD #BD6B38 #38BD6B
tetradic
#6B38BD #BD3847 #8ABD38 #38BDAE
square
#6B38BD #BD3847 #8ABD38 #38BDAE
split-complementary
#6B38BD #BDAE38 #47BD38
monochromatic
#361C5F #502A8E #6B38BD #8C62D0 #AF91DE

Accessibility & contrast

On white

7.18
#6B38BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B38BD
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B38BD#FFFFFF#000000##FFFFFF
##6B38BD1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#555976
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6b38bd;
/* rgb */ color: rgb(107, 56, 189);
/* oklch */ color: oklch(48.1% 0.196 295.6);
Tailwind
colors: {
  custom: {
    50: '#9c73d2',
    500: '#6b38bd',
    950: '#000000',
  },
}
SCSS
$custom: #6b38bd;
$custom-light: #9c73d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b38bd",
  "rgb": {
    "r": 107,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 263.008,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48074,
    "c": 0.19582,
    "h": 295.6
  },
  "luminance": 0.09628
}

Semantic roles & 50–950 ramp

primary
#6B38BD
secondary
#B0C987
accent
#DE4AA5
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6B38BD

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

Preview Lab → · Contrast checker → · Palette generator →

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