#6B2195#6B2195

#6B2195 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.180 H 309.7°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#6B2195
RGBrgb(107, 33, 149)
HSLhsl(278, 64%, 36%)
HSVhsv(278, 78%, 58%)
CMYKcmyk(28.2%, 77.9%, 0%, 41.6%)
CIE-LABlab(30.36, 51.22, -48.79)
CIE-LCHlch(30.36, 70.73, 316.39°)
OKLaboklab(42.27% 0.1148 -0.1384)
OKLCHoklch(42.27% 0.18 309.7)
XYZxyz(12.0310, 6.3837, 29.0263)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2195 #4B9521
analogous
#312195 #6B2195 #952185
triadic
#6B2195 #956B21 #21956B
tetradic
#6B2195 #953121 #4B9521 #218595
square
#6B2195 #953121 #4B9521 #218595
split-complementary
#6B2195 #859521 #219531
monochromatic
#230B31 #471663 #6B2195 #8F2CC7 #AA57DA

Accessibility & contrast

On white

9.22
#6B2195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6B2195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2195
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2195#FFFFFF#000000##FFFFFF
##6B21951.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#653D5A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6b2195;
/* rgb */ color: rgb(107, 33, 149);
/* oklch */ color: oklch(42.3% 0.180 309.7);
Tailwind
colors: {
  custom: {
    50: '#9a65b5',
    500: '#6b2195',
    950: '#000000',
  },
}
SCSS
$custom: #6b2195;
$custom-light: #9a65b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2195",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 278.276,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42271,
    "c": 0.17981,
    "h": 309.7
  },
  "luminance": 0.06383
}

Semantic roles & 50–950 ramp

primary
#6B2195
secondary
#7ABE54
accent
#E7417D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B2195

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

Preview Lab → · Contrast checker → · Palette generator →

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