#6A3DBA#6A3DBA

#6A3DBA is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.4% C 0.186 H 295.0°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#6A3DBA
RGBrgb(106, 61, 186)
HSLhsl(262, 51%, 48%)
HSVhsv(262, 67%, 73%)
CMYKcmyk(43%, 67.2%, 0%, 27.1%)
CIE-LABlab(37.75, 47.11, -59.02)
CIE-LCHlch(37.75, 75.51, 308.60°)
OKLaboklab(48.39% 0.0787 -0.1686)
OKLCHoklch(48.39% 0.186 295)
XYZxyz(16.4732, 9.9464, 47.4968)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3DBA #8DBA3D
analogous
#3D4EBA #6A3DBA #A83DBA
triadic
#6A3DBA #BA6A3D #3DBA6A
tetradic
#6A3DBA #BA3D4E #8DBA3D #3DBAA8
square
#6A3DBA #BA3D4E #8DBA3D #3DBAA8
split-complementary
#6A3DBA #BAA83D #4EBA3D
monochromatic
#351F5E #502E8C #6A3DBA #8C67CD #AF95DC

Accessibility & contrast

On white

7.02
#6A3DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6A3DBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3DBA
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3DBA#FFFFFF#000000##FFFFFF
##6A3DBA1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#545B76
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6a3dba;
/* rgb */ color: rgb(106, 61, 186);
/* oklch */ color: oklch(48.4% 0.186 295.0);
Tailwind
colors: {
  custom: {
    50: '#9b75d0',
    500: '#6a3dba',
    950: '#000000',
  },
}
SCSS
$custom: #6a3dba;
$custom-light: #9b75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3dba",
  "rgb": {
    "r": 106,
    "g": 61,
    "b": 186
  },
  "hsl": {
    "h": 261.6,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48389,
    "c": 0.18613,
    "h": 295
  },
  "luminance": 0.09947
}

Semantic roles & 50–950 ramp

primary
#6A3DBA
secondary
#B2C88B
accent
#DA4EA8
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6A3DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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