#6E38C3#6E38C3

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

Color values

HEX#6E38C3
RGBrgb(110, 56, 195)
HSLhsl(263, 55%, 49%)
HSVhsv(263, 71%, 76%)
CMYKcmyk(43.6%, 71.3%, 0%, 23.5%)
CIE-LABlab(37.99, 52.77, -63.87)
CIE-LCHlch(37.99, 82.85, 309.56°)
OKLaboklab(48.89% 0.0879 -0.1828)
OKLCHoklch(48.89% 0.203 295.7)
XYZxyz(17.6923, 10.0831, 52.6332)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E38C3 #8DC338
analogous
#3848C3 #6E38C3 #B338C3
triadic
#6E38C3 #C36E38 #38C36E
tetradic
#6E38C3 #C33848 #8DC338 #38C3B3
square
#6E38C3 #C33848 #8DC338 #38C3B3
split-complementary
#6E38C3 #C3B338 #48C338
monochromatic
#381D64 #532A93 #6E38C3 #9065D3 #B295E1

Accessibility & contrast

On white

6.96
#6E38C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#6E38C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E38C3
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E38C3#FFFFFF#000000##FFFFFF
##6E38C31.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e38c3;
/* rgb */ color: rgb(110, 56, 195);
/* oklch */ color: oklch(48.9% 0.203 295.7);
Tailwind
colors: {
  custom: {
    50: '#9f73d6',
    500: '#6e38c3',
    950: '#000000',
  },
}
SCSS
$custom: #6e38c3;
$custom-light: #9f73d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e38c3",
  "rgb": {
    "r": 110,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 263.309,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48888,
    "c": 0.20279,
    "h": 295.7
  },
  "luminance": 0.10083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6E38C3

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

Preview Lab → · Contrast checker → · Palette generator →

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