#6D38C4#6D38C4

#6D38C4 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.9% C 0.204 H 295.0°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#6D38C4
RGBrgb(109, 56, 196)
HSLhsl(263, 56%, 49%)
HSVhsv(263, 71%, 77%)
CMYKcmyk(44.4%, 71.4%, 0%, 23.1%)
CIE-LABlab(37.96, 52.85, -64.52)
CIE-LCHlch(37.96, 83.40, 309.32°)
OKLaboklab(48.86% 0.0862 -0.1847)
OKLCHoklch(48.86% 0.204 295)
XYZxyz(17.6820, 10.0646, 53.2249)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D38C4 #8FC438
analogous
#3849C4 #6D38C4 #B338C4
triadic
#6D38C4 #C46D38 #38C46D
tetradic
#6D38C4 #C43849 #8FC438 #38C4B3
square
#6D38C4 #C43849 #8FC438 #38C4B3
split-complementary
#6D38C4 #C4B338 #49C438
monochromatic
#381D65 #532A94 #6D38C4 #8F66D3 #B296E1

Accessibility & contrast

On white

6.97
#6D38C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6D38C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D38C4
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D38C4#FFFFFF#000000##FFFFFF
##6D38C41.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d38c4;
/* rgb */ color: rgb(109, 56, 196);
/* oklch */ color: oklch(48.9% 0.204 295.0);
Tailwind
colors: {
  custom: {
    50: '#9e73d7',
    500: '#6d38c4',
    950: '#000000',
  },
}
SCSS
$custom: #6d38c4;
$custom-light: #9e73d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d38c4",
  "rgb": {
    "r": 109,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 262.714,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48864,
    "c": 0.20384,
    "h": 295
  },
  "luminance": 0.10065
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D38C4

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

Preview Lab → · Contrast checker → · Palette generator →

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