#6B2CA2#6B2CA2

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

Color values

HEX#6B2CA2
RGBrgb(107, 44, 162)
HSLhsl(272, 57%, 40%)
HSVhsv(272, 73%, 64%)
CMYKcmyk(34%, 72.8%, 0%, 36.5%)
CIE-LABlab(33.00, 49.58, -52.42)
CIE-LCHlch(33.00, 72.16, 313.41°)
OKLaboklab(44.45% 0.1016 -0.1491)
OKLCHoklch(44.45% 0.18 304.3)
XYZxyz(13.4842, 7.5358, 34.9196)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2CA2 #63A22C
analogous
#302CA2 #6B2CA2 #A22C9E
triadic
#6B2CA2 #A26B2C #2CA26B
tetradic
#6B2CA2 #A2302C #63A22C #2C9EA2
square
#6B2CA2 #A2302C #63A22C #2C9EA2
split-complementary
#6B2CA2 #9EA22C #2CA230
monochromatic
#2B1242 #4B1F72 #6B2CA2 #8A40CB #A870D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B2CA2#FFFFFF#000000##FFFFFF
##6B2CA21.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)
#004CA5
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#604864
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6b2ca2;
/* rgb */ color: rgb(107, 44, 162);
/* oklch */ color: oklch(44.4% 0.180 304.3);
Tailwind
colors: {
  custom: {
    50: '#9a6bbe',
    500: '#6b2ca2',
    950: '#000000',
  },
}
SCSS
$custom: #6b2ca2;
$custom-light: #9a6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2ca2",
  "rgb": {
    "r": 107,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 272.034,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44449,
    "c": 0.18049,
    "h": 304.3
  },
  "luminance": 0.07536
}

Semantic roles & 50–950 ramp

primary
#6B2CA2
secondary
#92BF6A
accent
#E1478F
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6B2CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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