#6E38AC#6E38AC

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

Color values

HEX#6E38AC
RGBrgb(110, 56, 172)
HSLhsl(268, 51%, 45%)
HSVhsv(268, 67%, 67%)
CMYKcmyk(36%, 67.4%, 0%, 32.5%)
CIE-LABlab(36.22, 46.85, -53.18)
CIE-LCHlch(36.22, 70.87, 311.38°)
OKLaboklab(47.07% 0.0916 -0.1513)
OKLCHoklch(47.07% 0.177 301.2)
XYZxyz(15.2892, 9.1218, 39.9769)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E38AC #76AC38
analogous
#383CAC #6E38AC #A838AC
triadic
#6E38AC #AC6E38 #38AC6E
tetradic
#6E38AC #AC383C #76AC38 #38ACA8
square
#6E38AC #AC383C #76AC38 #38ACA8
split-complementary
#6E38AC #ACA838 #3CAC38
monochromatic
#331A50 #50297E #6E38AC #8D58C9 #AC87D8

Accessibility & contrast

On white

7.44
#6E38AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6E38AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E38AC
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E38AC#FFFFFF#000000##FFFFFF
##6E38AC1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#61536D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6e38ac;
/* rgb */ color: rgb(110, 56, 172);
/* oklch */ color: oklch(47.1% 0.177 301.2);
Tailwind
colors: {
  custom: {
    50: '#9c72c5',
    500: '#6e38ac',
    950: '#000000',
  },
}
SCSS
$custom: #6e38ac;
$custom-light: #9c72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e38ac",
  "rgb": {
    "r": 110,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 267.931,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47067,
    "c": 0.1769,
    "h": 301.2
  },
  "luminance": 0.09122
}

Semantic roles & 50–950 ramp

primary
#6E38AC
secondary
#A2C27E
accent
#DA4D99
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6E38AC

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

Preview Lab → · Contrast checker → · Palette generator →

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