#6B2CA4#6B2CA4

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

Color values

HEX#6B2CA4
RGBrgb(107, 44, 164)
HSLhsl(272, 58%, 41%)
HSVhsv(272, 73%, 64%)
CMYKcmyk(34.8%, 73.2%, 0%, 35.7%)
CIE-LABlab(33.15, 50.06, -53.38)
CIE-LCHlch(33.15, 73.18, 313.17°)
OKLaboklab(44.61% 0.1013 -0.152)
OKLCHoklch(44.61% 0.183 303.7)
XYZxyz(13.6634, 7.6075, 35.8633)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2CA4 #65A42C
analogous
#2F2CA4 #6B2CA4 #A42CA1
triadic
#6B2CA4 #A46B2C #2CA46B
tetradic
#6B2CA4 #A42F2C #65A42C #2CA1A4
square
#6B2CA4 #A42F2C #65A42C #2CA1A4
split-complementary
#6B2CA4 #A1A42C #2CA42F
monochromatic
#2C1243 #4C1F74 #6B2CA4 #8A41CC #A871D9

Accessibility & contrast

On white

8.33
#6B2CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6B2CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2CA4
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2CA4#FFFFFF#000000##FFFFFF
##6B2CA41.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b2ca4;
/* rgb */ color: rgb(107, 44, 164);
/* oklch */ color: oklch(44.6% 0.183 303.7);
Tailwind
colors: {
  custom: {
    50: '#9a6bc0',
    500: '#6b2ca4',
    950: '#000000',
  },
}
SCSS
$custom: #6b2ca4;
$custom-light: #9a6bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2ca4",
  "rgb": {
    "r": 107,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 271.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44607,
    "c": 0.18261,
    "h": 303.7
  },
  "luminance": 0.07607
}

Semantic roles & 50–950 ramp

primary
#6B2CA4
secondary
#94C06B
accent
#E14790
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6B2CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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