#6C38C3#6C38C3

#6C38C3 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.7% C 0.203 H 294.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#6C38C3
RGBrgb(108, 56, 195)
HSLhsl(262, 55%, 49%)
HSVhsv(262, 71%, 76%)
CMYKcmyk(44.6%, 71.3%, 0%, 23.5%)
CIE-LABlab(37.76, 52.42, -64.26)
CIE-LCHlch(37.76, 82.92, 309.21°)
OKLaboklab(48.68% 0.085 -0.184)
OKLCHoklch(48.68% 0.203 294.8)
XYZxyz(17.4462, 9.9562, 52.6217)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C38C3 #8FC338
analogous
#384AC3 #6C38C3 #B238C3
triadic
#6C38C3 #C36C38 #38C36C
tetradic
#6C38C3 #C3384A #8FC338 #38C3B2
square
#6C38C3 #C3384A #8FC338 #38C3B2
split-complementary
#6C38C3 #C3B238 #4AC338
monochromatic
#371D64 #522A93 #6C38C3 #8E65D3 #B195E1

Accessibility & contrast

On white

7.02
#6C38C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6C38C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C38C3
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C38C3#FFFFFF#000000##FFFFFF
##6C38C31.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#545B7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6c38c3;
/* rgb */ color: rgb(108, 56, 195);
/* oklch */ color: oklch(48.7% 0.203 294.8);
Tailwind
colors: {
  custom: {
    50: '#9e73d6',
    500: '#6c38c3',
    950: '#000000',
  },
}
SCSS
$custom: #6c38c3;
$custom-light: #9e73d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c38c3",
  "rgb": {
    "r": 108,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 262.446,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48675,
    "c": 0.20265,
    "h": 294.8
  },
  "luminance": 0.09957
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C38C3

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

Preview Lab → · Contrast checker → · Palette generator →

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