#6B2C97#6B2C97

#6B2C97 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.6% C 0.169 H 307.8°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#6B2C97
RGBrgb(107, 44, 151)
HSLhsl(275, 55%, 38%)
HSVhsv(275, 71%, 59%)
CMYKcmyk(29.1%, 70.9%, 0%, 40.8%)
CIE-LABlab(32.17, 46.96, -47.08)
CIE-LCHlch(32.17, 66.49, 314.93°)
OKLaboklab(43.6% 0.1034 -0.1334)
OKLCHoklch(43.6% 0.169 307.8)
XYZxyz(12.5488, 7.1617, 29.9934)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2C97 #58972C
analogous
#352C97 #6B2C97 #972C8D
triadic
#6B2C97 #976B2C #2C976B
tetradic
#6B2C97 #97352C #58972C #2C8D97
square
#6B2C97 #97352C #58972C #2C8D97
split-complementary
#6B2C97 #8D972C #2C9735
monochromatic
#281038 #491E68 #6B2C97 #8C3AC6 #A86AD4

Accessibility & contrast

On white

8.63
#6B2C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6B2C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2C97
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2C97#FFFFFF#000000##FFFFFF
##6B2C971.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#104C95
Tritanopia (blue-blind)
#64445E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6b2c97;
/* rgb */ color: rgb(107, 44, 151);
/* oklch */ color: oklch(43.6% 0.169 307.8);
Tailwind
colors: {
  custom: {
    50: '#996ab6',
    500: '#6b2c97',
    950: '#000000',
  },
}
SCSS
$custom: #6b2c97;
$custom-light: #996ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2c97",
  "rgb": {
    "r": 107,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 275.327,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43602,
    "c": 0.16881,
    "h": 307.8
  },
  "luminance": 0.07162
}

Semantic roles & 50–950 ramp

primary
#6B2C97
secondary
#88BA65
accent
#DE4A87
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6B2C97

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

Preview Lab → · Contrast checker → · Palette generator →

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