#6B3A92#6B3A92

#6B3A92 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.1% C 0.143 H 307.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#6B3A92
RGBrgb(107, 58, 146)
HSLhsl(273, 43%, 40%)
HSVhsv(273, 60%, 57%)
CMYKcmyk(26.7%, 60.3%, 0%, 42.7%)
CIE-LABlab(34.45, 38.58, -40.35)
CIE-LCHlch(34.45, 55.83, 313.71°)
OKLaboklab(45.14% 0.0867 -0.1138)
OKLCHoklch(45.14% 0.143 307.3)
XYZxyz(12.7637, 8.2274, 28.1042)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3A92 #61923A
analogous
#3F3A92 #6B3A92 #923A8D
triadic
#6B3A92 #926B3A #3A926B
tetradic
#6B3A92 #923F3A #61923A #3A8D92
square
#6B3A92 #923F3A #61923A #3A8D92
split-complementary
#6B3A92 #8D923A #3A923F
monochromatic
#2B173A #4B2966 #6B3A92 #8B50B9 #A87CCB

Accessibility & contrast

On white

7.94
#6B3A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6B3A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3A92
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3A92#FFFFFF#000000##FFFFFF
##6B3A921.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164F95
Deuteranopia (green-blind)
#2C5190
Tritanopia (blue-blind)
#654B60
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6b3a92;
/* rgb */ color: rgb(107, 58, 146);
/* oklch */ color: oklch(45.1% 0.143 307.3);
Tailwind
colors: {
  custom: {
    50: '#9873b2',
    500: '#6b3a92',
    950: '#000000',
  },
}
SCSS
$custom: #6b3a92;
$custom-light: #9873b2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3a92",
  "rgb": {
    "r": 107,
    "g": 58,
    "b": 146
  },
  "hsl": {
    "h": 273.409,
    "s": 43.137,
    "l": 40
  },
  "oklch": {
    "l": 0.45139,
    "c": 0.14302,
    "h": 307.3
  },
  "luminance": 0.08227
}

Semantic roles & 50–950 ramp

primary
#6B3A92
secondary
#90B474
accent
#D3558D
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #6B3A92

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

Preview Lab → · Contrast checker → · Palette generator →

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