#6B2CA1#6B2CA1

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

Color values

HEX#6B2CA1
RGBrgb(107, 44, 161)
HSLhsl(272, 57%, 40%)
HSVhsv(272, 73%, 63%)
CMYKcmyk(33.5%, 72.7%, 0%, 36.9%)
CIE-LABlab(32.92, 49.34, -51.94)
CIE-LCHlch(32.92, 71.64, 313.53°)
OKLaboklab(44.37% 0.1018 -0.1477)
OKLCHoklch(44.37% 0.179 304.6)
XYZxyz(13.3957, 7.5004, 34.4533)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2CA1 #62A12C
analogous
#312CA1 #6B2CA1 #A12C9C
triadic
#6B2CA1 #A16B2C #2CA16B
tetradic
#6B2CA1 #A1312C #62A12C #2C9CA1
square
#6B2CA1 #A1312C #62A12C #2C9CA1
split-complementary
#6B2CA1 #9CA12C #2CA131
monochromatic
#2B1241 #4B1F71 #6B2CA1 #8A40CB #A870D8

Accessibility & contrast

On white

8.40
#6B2CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6B2CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2CA1
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2CA1#FFFFFF#000000##FFFFFF
##6B2CA11.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#614864
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6b2ca1;
/* rgb */ color: rgb(107, 44, 161);
/* oklch */ color: oklch(44.4% 0.179 304.6);
Tailwind
colors: {
  custom: {
    50: '#9a6bbe',
    500: '#6b2ca1',
    950: '#000000',
  },
}
SCSS
$custom: #6b2ca1;
$custom-light: #9a6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2ca1",
  "rgb": {
    "r": 107,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 272.308,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4437,
    "c": 0.17943,
    "h": 304.6
  },
  "luminance": 0.075
}

Semantic roles & 50–950 ramp

primary
#6B2CA1
secondary
#91BF6A
accent
#E0478E
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0712
muted
#7E7A81

Preview Lab

Preview with #6B2CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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