#6B2F97#6B2F97

#6B2F97 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.0% C 0.165 H 307.4°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#6B2F97
RGBrgb(107, 47, 151)
HSLhsl(275, 53%, 39%)
HSVhsv(275, 69%, 59%)
CMYKcmyk(29.1%, 68.9%, 0%, 40.8%)
CIE-LABlab(32.69, 45.53, -46.25)
CIE-LCHlch(32.69, 64.90, 314.55°)
OKLaboklab(43.97% 0.1 -0.131)
OKLCHoklch(43.97% 0.165 307.4)
XYZxyz(12.6647, 7.3934, 30.0320)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2F97 #5B972F
analogous
#372F97 #6B2F97 #972F8F
triadic
#6B2F97 #976B2F #2F976B
tetradic
#6B2F97 #97372F #5B972F #2F8F97
square
#6B2F97 #97372F #5B972F #2F8F97
split-complementary
#6B2F97 #8F972F #2F9737
monochromatic
#29123A #4A2068 #6B2F97 #8C40C3 #A86ED2

Accessibility & contrast

On white

8.47
#6B2F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6B2F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2F97
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2F97#FFFFFF#000000##FFFFFF
##6B2F971.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#164D95
Tritanopia (blue-blind)
#64465F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6b2f97;
/* rgb */ color: rgb(107, 47, 151);
/* oklch */ color: oklch(44.0% 0.165 307.4);
Tailwind
colors: {
  custom: {
    50: '#996cb6',
    500: '#6b2f97',
    950: '#000000',
  },
}
SCSS
$custom: #6b2f97;
$custom-light: #996cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2f97",
  "rgb": {
    "r": 107,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 274.615,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43969,
    "c": 0.16484,
    "h": 307.4
  },
  "luminance": 0.07393
}

Semantic roles & 50–950 ramp

primary
#6B2F97
secondary
#8BB968
accent
#DC4C89
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6B2F97

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

Preview Lab → · Contrast checker → · Palette generator →

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