#6B2CA5#6B2CA5

#6B2CA5 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.7% C 0.184 H 303.4°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#6B2CA5
RGBrgb(107, 44, 165)
HSLhsl(271, 58%, 41%)
HSVhsv(271, 73%, 65%)
CMYKcmyk(35.2%, 73.3%, 0%, 35.3%)
CIE-LABlab(33.23, 50.31, -53.85)
CIE-LCHlch(33.23, 73.69, 313.05°)
OKLaboklab(44.69% 0.1011 -0.1534)
OKLCHoklch(44.69% 0.184 303.4)
XYZxyz(13.7540, 7.6438, 36.3408)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2CA5 #66A52C
analogous
#2E2CA5 #6B2CA5 #A52CA2
triadic
#6B2CA5 #A56B2C #2CA56B
tetradic
#6B2CA5 #A52E2C #66A52C #2CA2A5
square
#6B2CA5 #A52E2C #66A52C #2CA2A5
split-complementary
#6B2CA5 #A2A52C #2CA52E
monochromatic
#2C1244 #4C1F75 #6B2CA5 #8A42CD #A872D9

Accessibility & contrast

On white

8.30
#6B2CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6B2CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2CA5
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2CA5#FFFFFF#000000##FFFFFF
##6B2CA51.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b2ca5;
/* rgb */ color: rgb(107, 44, 165);
/* oklch */ color: oklch(44.7% 0.184 303.4);
Tailwind
colors: {
  custom: {
    50: '#9b6bc1',
    500: '#6b2ca5',
    950: '#000000',
  },
}
SCSS
$custom: #6b2ca5;
$custom-light: #9b6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2ca5",
  "rgb": {
    "r": 107,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 271.24,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44687,
    "c": 0.18367,
    "h": 303.4
  },
  "luminance": 0.07644
}

Semantic roles & 50–950 ramp

primary
#6B2CA5
secondary
#95C16C
accent
#E14791
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6B2CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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