#6D38AE#6D38AE

#6D38AE is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.1% C 0.179 H 300.2°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#6D38AE
RGBrgb(109, 56, 174)
HSLhsl(267, 51%, 45%)
HSVhsv(267, 68%, 68%)
CMYKcmyk(37.4%, 67.8%, 0%, 31.8%)
CIE-LABlab(36.24, 47.15, -54.34)
CIE-LCHlch(36.24, 71.94, 310.95°)
OKLaboklab(47.11% 0.0899 -0.1548)
OKLCHoklch(47.11% 0.179 300.2)
XYZxyz(15.3590, 9.1354, 40.9903)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D38AE #79AE38
analogous
#383EAE #6D38AE #A838AE
triadic
#6D38AE #AE6D38 #38AE6D
tetradic
#6D38AE #AE383E #79AE38 #38AEA8
square
#6D38AE #AE383E #79AE38 #38AEA8
split-complementary
#6D38AE #AEA838 #3EAE38
monochromatic
#331A51 #502980 #6D38AE #8C59CA #AC88D9

Accessibility & contrast

On white

7.43
#6D38AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6D38AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D38AE
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D38AE#FFFFFF#000000##FFFFFF
##6D38AE1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#5F536E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6d38ae;
/* rgb */ color: rgb(109, 56, 174);
/* oklch */ color: oklch(47.1% 0.179 300.2);
Tailwind
colors: {
  custom: {
    50: '#9c72c7',
    500: '#6d38ae',
    950: '#000000',
  },
}
SCSS
$custom: #6d38ae;
$custom-light: #9c72c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d38ae",
  "rgb": {
    "r": 109,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 266.949,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47105,
    "c": 0.17901,
    "h": 300.2
  },
  "luminance": 0.09136
}

Semantic roles & 50–950 ramp

primary
#6D38AE
secondary
#A4C37F
accent
#DB4D9B
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6D38AE

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

Preview Lab → · Contrast checker → · Palette generator →

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