#6C38C4#6C38C4

#6C38C4 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.8% C 0.204 H 294.6°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#6C38C4
RGBrgb(108, 56, 196)
HSLhsl(262, 56%, 49%)
HSVhsv(262, 71%, 77%)
CMYKcmyk(44.9%, 71.4%, 0%, 23.1%)
CIE-LABlab(37.85, 52.68, -64.71)
CIE-LCHlch(37.85, 83.44, 309.15°)
OKLaboklab(48.76% 0.0848 -0.1853)
OKLCHoklch(48.76% 0.204 294.6)
XYZxyz(17.5596, 10.0015, 53.2192)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C38C4 #90C438
analogous
#384AC4 #6C38C4 #B238C4
triadic
#6C38C4 #C46C38 #38C46C
tetradic
#6C38C4 #C4384A #90C438 #38C4B2
square
#6C38C4 #C4384A #90C438 #38C4B2
split-complementary
#6C38C4 #C4B238 #4AC438
monochromatic
#381D65 #522A94 #6C38C4 #8F66D3 #B296E1

Accessibility & contrast

On white

7.00
#6C38C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#6C38C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C38C4
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C38C4#FFFFFF#000000##FFFFFF
##6C38C41.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC8
Deuteranopia (green-blind)
#0057C1
Tritanopia (blue-blind)
#535C7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6c38c4;
/* rgb */ color: rgb(108, 56, 196);
/* oklch */ color: oklch(48.8% 0.204 294.6);
Tailwind
colors: {
  custom: {
    50: '#9e73d7',
    500: '#6c38c4',
    950: '#000000',
  },
}
SCSS
$custom: #6c38c4;
$custom-light: #9e73d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c38c4",
  "rgb": {
    "r": 108,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 262.286,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48758,
    "c": 0.20377,
    "h": 294.6
  },
  "luminance": 0.10002
}

Semantic roles & 50–950 ramp

primary
#6C38C4
secondary
#B4CC8C
accent
#DF49A7
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6C38C4

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

Preview Lab → · Contrast checker → · Palette generator →

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