#6B2BA4#6B2BA4

#6B2BA4 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.5% C 0.184 H 303.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#6B2BA4
RGBrgb(107, 43, 164)
HSLhsl(272, 58%, 41%)
HSVhsv(272, 74%, 64%)
CMYKcmyk(34.8%, 73.8%, 0%, 35.7%)
CIE-LABlab(32.99, 50.51, -53.64)
CIE-LCHlch(32.99, 73.68, 313.28°)
OKLaboklab(44.49% 0.1023 -0.1527)
OKLCHoklch(44.49% 0.184 303.8)
XYZxyz(13.6266, 7.5339, 35.8511)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2BA4 #64A42B
analogous
#2F2BA4 #6B2BA4 #A42BA0
triadic
#6B2BA4 #A46B2B #2BA46B
tetradic
#6B2BA4 #A42F2B #64A42B #2BA0A4
square
#6B2BA4 #A42F2B #64A42B #2BA0A4
split-complementary
#6B2BA4 #A0A42B #2BA42F
monochromatic
#2C1243 #4B1E74 #6B2BA4 #8A3FCD #A870D9

Accessibility & contrast

On white

8.38
#6B2BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6B2BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2BA4
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2BA4#FFFFFF#000000##FFFFFF
##6B2BA41.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#004DA2
Tritanopia (blue-blind)
#604965
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6b2ba4;
/* rgb */ color: rgb(107, 43, 164);
/* oklch */ color: oklch(44.5% 0.184 303.8);
Tailwind
colors: {
  custom: {
    50: '#9b6bc0',
    500: '#6b2ba4',
    950: '#000000',
  },
}
SCSS
$custom: #6b2ba4;
$custom-light: #9b6bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2ba4",
  "rgb": {
    "r": 107,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 271.736,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44494,
    "c": 0.18379,
    "h": 303.8
  },
  "luminance": 0.07534
}

Semantic roles & 50–950 ramp

primary
#6B2BA4
secondary
#93C16A
accent
#E2468F
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6B2BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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