#6B2BA5#6B2BA5

#6B2BA5 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.6% C 0.185 H 303.5°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#6B2BA5
RGBrgb(107, 43, 165)
HSLhsl(271, 59%, 41%)
HSVhsv(271, 74%, 65%)
CMYKcmyk(35.2%, 73.9%, 0%, 35.3%)
CIE-LABlab(33.07, 50.75, -54.11)
CIE-LCHlch(33.07, 74.19, 313.17°)
OKLaboklab(44.57% 0.1021 -0.1541)
OKLCHoklch(44.57% 0.185 303.5)
XYZxyz(13.7172, 7.5702, 36.3285)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2BA5 #65A52B
analogous
#2E2BA5 #6B2BA5 #A52BA2
triadic
#6B2BA5 #A56B2B #2BA56B
tetradic
#6B2BA5 #A52E2B #65A52B #2BA2A5
square
#6B2BA5 #A52E2B #65A52B #2BA2A5
split-complementary
#6B2BA5 #A2A52B #2BA52E
monochromatic
#2C1244 #4C1E74 #6B2BA5 #8A40CD #A871DA

Accessibility & contrast

On white

8.35
#6B2BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B2BA5
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2BA5#FFFFFF#000000##FFFFFF
##6B2BA51.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA8
Deuteranopia (green-blind)
#004EA3
Tritanopia (blue-blind)
#5F4966
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6b2ba5;
/* rgb */ color: rgb(107, 43, 165);
/* oklch */ color: oklch(44.6% 0.185 303.5);
Tailwind
colors: {
  custom: {
    50: '#9b6bc1',
    500: '#6b2ba5',
    950: '#000000',
  },
}
SCSS
$custom: #6b2ba5;
$custom-light: #9b6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2ba5",
  "rgb": {
    "r": 107,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 271.475,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44574,
    "c": 0.18484,
    "h": 303.5
  },
  "luminance": 0.0757
}

Semantic roles & 50–950 ramp

primary
#6B2BA5
secondary
#94C16B
accent
#E24690
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6B2BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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