#6B2691#6B2691

#6B2691 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.170 H 310.6°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#6B2691
RGBrgb(107, 38, 145)
HSLhsl(279, 58%, 36%)
HSVhsv(279, 74%, 57%)
CMYKcmyk(26.2%, 73.8%, 0%, 43.1%)
CIE-LABlab(30.78, 48.28, -45.66)
CIE-LCHlch(30.78, 66.45, 316.60°)
OKLaboklab(42.47% 0.1107 -0.1292)
OKLCHoklch(42.47% 0.17 310.6)
XYZxyz(11.8664, 6.5566, 27.4230)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2691 #4C9126
analogous
#362691 #6B2691 #912681
triadic
#6B2691 #916B26 #26916B
tetradic
#6B2691 #913626 #4C9126 #268191
square
#6B2691 #913626 #4C9126 #268191
split-complementary
#6B2691 #819126 #269136
monochromatic
#230D30 #471961 #6B2691 #8F33C1 #AA5DD5

Accessibility & contrast

On white

9.09
#6B2691 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6B2691 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2691
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2691#FFFFFF#000000##FFFFFF
##6B26911.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#124A8F
Tritanopia (blue-blind)
#663E59
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6b2691;
/* rgb */ color: rgb(107, 38, 145);
/* oklch */ color: oklch(42.5% 0.170 310.6);
Tailwind
colors: {
  custom: {
    50: '#9967b2',
    500: '#6b2691',
    950: '#000000',
  },
}
SCSS
$custom: #6b2691;
$custom-light: #9967b2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2691",
  "rgb": {
    "r": 107,
    "g": 38,
    "b": 145
  },
  "hsl": {
    "h": 278.692,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42469,
    "c": 0.17014,
    "h": 310.6
  },
  "luminance": 0.06556
}

Semantic roles & 50–950 ramp

primary
#6B2691
secondary
#7BBA59
accent
#E2467D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B2691

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

Preview Lab → · Contrast checker → · Palette generator →

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