#6B2BA2#6B2BA2

#6B2BA2 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.182 H 304.4°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#6B2BA2
RGBrgb(107, 43, 162)
HSLhsl(272, 58%, 40%)
HSVhsv(272, 73%, 64%)
CMYKcmyk(34%, 73.5%, 0%, 36.5%)
CIE-LABlab(32.84, 50.03, -52.68)
CIE-LCHlch(32.84, 72.65, 313.52°)
OKLaboklab(44.34% 0.1027 -0.1499)
OKLCHoklch(44.34% 0.182 304.4)
XYZxyz(13.4474, 7.4622, 34.9073)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2BA2 #62A22B
analogous
#2F2BA2 #6B2BA2 #A22B9D
triadic
#6B2BA2 #A26B2B #2BA26B
tetradic
#6B2BA2 #A22F2B #62A22B #2B9DA2
square
#6B2BA2 #A22F2B #62A22B #2B9DA2
split-complementary
#6B2BA2 #9DA22B #2BA22F
monochromatic
#2B1141 #4B1E72 #6B2BA2 #8A3ECC #A86FD9

Accessibility & contrast

On white

8.43
#6B2BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6B2BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2BA2
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2BA2#FFFFFF#000000##FFFFFF
##6B2BA21.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#604864
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6b2ba2;
/* rgb */ color: rgb(107, 43, 162);
/* oklch */ color: oklch(44.3% 0.182 304.4);
Tailwind
colors: {
  custom: {
    50: '#9a6abe',
    500: '#6b2ba2',
    950: '#000000',
  },
}
SCSS
$custom: #6b2ba2;
$custom-light: #9a6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2ba2",
  "rgb": {
    "r": 107,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 272.269,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44335,
    "c": 0.18169,
    "h": 304.4
  },
  "luminance": 0.07462
}

Semantic roles & 50–950 ramp

primary
#6B2BA2
secondary
#91C069
accent
#E1478E
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6B2BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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