#6C38BE#6C38BE

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

Color values

HEX#6C38BE
RGBrgb(108, 56, 190)
HSLhsl(263, 54%, 48%)
HSVhsv(263, 71%, 75%)
CMYKcmyk(43.2%, 70.5%, 0%, 25.5%)
CIE-LABlab(37.36, 51.10, -61.98)
CIE-LCHlch(37.36, 80.33, 309.50°)
OKLaboklab(48.26% 0.086 -0.1773)
OKLCHoklch(48.26% 0.197 295.9)
XYZxyz(16.8903, 9.7338, 49.6941)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C38BE #8ABE38
analogous
#3847BE #6C38BE #AF38BE
triadic
#6C38BE #BE6C38 #38BE6C
tetradic
#6C38BE #BE3847 #8ABE38 #38BEAF
square
#6C38BE #BE3847 #8ABE38 #38BEAF
split-complementary
#6C38BE #BEAF38 #47BE38
monochromatic
#361C5F #512A8F #6C38BE #8D62D1 #B092DF

Accessibility & contrast

On white

7.13
#6C38BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6C38BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C38BE
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C38BE#FFFFFF#000000##FFFFFF
##6C38BE1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c38be;
/* rgb */ color: rgb(108, 56, 190);
/* oklch */ color: oklch(48.3% 0.197 295.9);
Tailwind
colors: {
  custom: {
    50: '#9d73d3',
    500: '#6c38be',
    950: '#000000',
  },
}
SCSS
$custom: #6c38be;
$custom-light: #9d73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c38be",
  "rgb": {
    "r": 108,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 263.284,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48263,
    "c": 0.19703,
    "h": 295.9
  },
  "luminance": 0.09734
}

Semantic roles & 50–950 ramp

primary
#6C38BE
secondary
#B0CA88
accent
#DE4AA4
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6C38BE

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

Preview Lab → · Contrast checker → · Palette generator →

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