#6B39B2#6B39B2

#6B39B2 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.3% C 0.182 H 298.0°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#6B39B2
RGBrgb(107, 57, 178)
HSLhsl(265, 51%, 46%)
HSVhsv(265, 68%, 70%)
CMYKcmyk(39.9%, 68%, 0%, 30.2%)
CIE-LABlab(36.49, 47.27, -56.32)
CIE-LCHlch(36.49, 73.53, 310.00°)
OKLaboklab(47.32% 0.0855 -0.1607)
OKLCHoklch(47.32% 0.182 298)
XYZxyz(15.5604, 9.2662, 43.0796)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B39B2 #80B239
analogous
#3944B2 #6B39B2 #A739B2
triadic
#6B39B2 #B26B39 #39B26B
tetradic
#6B39B2 #B23944 #80B239 #39B2A7
square
#6B39B2 #B23944 #80B239 #39B2A7
split-complementary
#6B39B2 #B2A739 #44B239
monochromatic
#331B55 #4F2A84 #6B39B2 #8B5DCB #AC8BDA

Accessibility & contrast

On white

7.36
#6B39B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6B39B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B39B2
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B39B2#FFFFFF#000000##FFFFFF
##6B39B21.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#5A5671
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6b39b2;
/* rgb */ color: rgb(107, 57, 178);
/* oklch */ color: oklch(47.3% 0.182 298.0);
Tailwind
colors: {
  custom: {
    50: '#9b73ca',
    500: '#6b39b2',
    950: '#000000',
  },
}
SCSS
$custom: #6b39b2;
$custom-light: #9b73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6b39b2",
  "rgb": {
    "r": 107,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 264.793,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47324,
    "c": 0.18201,
    "h": 298
  },
  "luminance": 0.09266
}

Semantic roles & 50–950 ramp

primary
#6B39B2
secondary
#A9C482
accent
#DB4DA0
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6B39B2

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

Preview Lab → · Contrast checker → · Palette generator →

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