#6B1995#6B1995

#6B1995 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.188 H 310.3°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#6B1995
RGBrgb(107, 25, 149)
HSLhsl(280, 71%, 34%)
HSVhsv(280, 83%, 58%)
CMYKcmyk(28.2%, 83.2%, 0%, 41.6%)
CIE-LABlab(29.39, 54.03, -50.36)
CIE-LCHlch(29.39, 73.86, 317.01°)
OKLaboklab(41.59% 0.1214 -0.143)
OKLCHoklch(41.59% 0.188 310.3)
XYZxyz(11.8348, 5.9913, 28.9609)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1995 #439519
analogous
#2D1995 #6B1995 #951981
triadic
#6B1995 #956B19 #19956B
tetradic
#6B1995 #952D19 #439519 #198195
square
#6B1995 #952D19 #439519 #198195
split-complementary
#6B1995 #819519 #19952D
monochromatic
#20072C #451061 #6B1995 #9122C9 #AD48E0

Accessibility & contrast

On white

9.55
#6B1995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6B1995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1995
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1995#FFFFFF#000000##FFFFFF
##6B19951.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#653A59
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b1995;
/* rgb */ color: rgb(107, 25, 149);
/* oklch */ color: oklch(41.6% 0.188 310.3);
Tailwind
colors: {
  custom: {
    50: '#9a62b5',
    500: '#6b1995',
    950: '#000000',
  },
}
SCSS
$custom: #6b1995;
$custom-light: #9a62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1995",
  "rgb": {
    "r": 107,
    "g": 25,
    "b": 149
  },
  "hsl": {
    "h": 279.677,
    "s": 71.264,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41591,
    "c": 0.18757,
    "h": 310.3
  },
  "luminance": 0.05991
}

Semantic roles & 50–950 ramp

primary
#6B1995
secondary
#71C248
accent
#EE3A77
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6B1995

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

Preview Lab → · Contrast checker → · Palette generator →

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