#6A38C3#6A38C3

#6A38C3 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.5% C 0.203 H 293.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#6A38C3
RGBrgb(106, 56, 195)
HSLhsl(262, 55%, 49%)
HSVhsv(262, 71%, 76%)
CMYKcmyk(45.6%, 71.3%, 0%, 23.5%)
CIE-LABlab(37.54, 52.07, -64.63)
CIE-LCHlch(37.54, 83.00, 308.86°)
OKLaboklab(48.47% 0.0821 -0.1851)
OKLCHoklch(48.47% 0.203 293.9)
XYZxyz(17.2057, 9.8321, 52.6104)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A38C3 #91C338
analogous
#384CC3 #6A38C3 #B038C3
triadic
#6A38C3 #C36A38 #38C36A
tetradic
#6A38C3 #C3384C #91C338 #38C3B0
square
#6A38C3 #C3384C #91C338 #38C3B0
split-complementary
#6A38C3 #C3B038 #4CC338
monochromatic
#361D64 #502A93 #6A38C3 #8D65D3 #B095E1

Accessibility & contrast

On white

7.08
#6A38C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6A38C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A38C3
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A38C3#FFFFFF#000000##FFFFFF
##6A38C31.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#0056C0
Tritanopia (blue-blind)
#505C7A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6a38c3;
/* rgb */ color: rgb(106, 56, 195);
/* oklch */ color: oklch(48.5% 0.203 293.9);
Tailwind
colors: {
  custom: {
    50: '#9c73d6',
    500: '#6a38c3',
    950: '#000000',
  },
}
SCSS
$custom: #6a38c3;
$custom-light: #9c73d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a38c3",
  "rgb": {
    "r": 106,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 261.583,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48465,
    "c": 0.20253,
    "h": 293.9
  },
  "luminance": 0.09833
}

Semantic roles & 50–950 ramp

primary
#6A38C3
secondary
#B4CC8B
accent
#DF49A9
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6A38C3

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

Preview Lab → · Contrast checker → · Palette generator →

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