#6C38BF#6C38BF

#6C38BF is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.3% C 0.198 H 295.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#6C38BF
RGBrgb(108, 56, 191)
HSLhsl(263, 55%, 48%)
HSVhsv(263, 71%, 75%)
CMYKcmyk(43.5%, 70.7%, 0%, 25.1%)
CIE-LABlab(37.44, 51.37, -62.44)
CIE-LCHlch(37.44, 80.85, 309.44°)
OKLaboklab(48.35% 0.0858 -0.1786)
OKLCHoklch(48.35% 0.198 295.6)
XYZxyz(17.0000, 9.7777, 50.2717)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C38BF #8BBF38
analogous
#3847BF #6C38BF #AF38BF
triadic
#6C38BF #BF6C38 #38BF6C
tetradic
#6C38BF #BF3847 #8BBF38 #38BFAF
square
#6C38BF #BF3847 #8BBF38 #38BFAF
split-complementary
#6C38BF #BFAF38 #47BF38
monochromatic
#361C60 #512A90 #6C38BF #8D63D1 #B092DF

Accessibility & contrast

On white

7.11
#6C38BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#6C38BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C38BF
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C38BF#FFFFFF#000000##FFFFFF
##6C38BF1.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#565A78
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6c38bf;
/* rgb */ color: rgb(108, 56, 191);
/* oklch */ color: oklch(48.3% 0.198 295.6);
Tailwind
colors: {
  custom: {
    50: '#9d73d3',
    500: '#6c38bf',
    950: '#000000',
  },
}
SCSS
$custom: #6c38bf;
$custom-light: #9d73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c38bf",
  "rgb": {
    "r": 108,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 263.111,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48345,
    "c": 0.19815,
    "h": 295.6
  },
  "luminance": 0.09778
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C38BF

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

Preview Lab → · Contrast checker → · Palette generator →

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