#6D38C3#6D38C3

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

Color values

HEX#6D38C3
RGBrgb(109, 56, 195)
HSLhsl(263, 55%, 49%)
HSVhsv(263, 71%, 76%)
CMYKcmyk(44.1%, 71.3%, 0%, 23.5%)
CIE-LABlab(37.88, 52.59, -64.07)
CIE-LCHlch(37.88, 82.89, 309.38°)
OKLaboklab(48.78% 0.0864 -0.1834)
OKLCHoklch(48.78% 0.203 295.2)
XYZxyz(17.5685, 10.0192, 52.6274)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D38C3 #8EC338
analogous
#3849C3 #6D38C3 #B338C3
triadic
#6D38C3 #C36D38 #38C36D
tetradic
#6D38C3 #C33849 #8EC338 #38C3B3
square
#6D38C3 #C33849 #8EC338 #38C3B3
split-complementary
#6D38C3 #C3B338 #49C338
monochromatic
#381D64 #522A93 #6D38C3 #8F65D3 #B295E1

Accessibility & contrast

On white

6.99
#6D38C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6D38C3
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D38C3#FFFFFF#000000##FFFFFF
##6D38C31.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d38c3;
/* rgb */ color: rgb(109, 56, 195);
/* oklch */ color: oklch(48.8% 0.203 295.2);
Tailwind
colors: {
  custom: {
    50: '#9e73d6',
    500: '#6d38c3',
    950: '#000000',
  },
}
SCSS
$custom: #6d38c3;
$custom-light: #9e73d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d38c3",
  "rgb": {
    "r": 109,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 262.878,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48781,
    "c": 0.20272,
    "h": 295.2
  },
  "luminance": 0.1002
}

Semantic roles & 50–950 ramp

primary
#6D38C3
secondary
#B3CC8B
accent
#DF49A6
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6D38C3

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

Preview Lab → · Contrast checker → · Palette generator →

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