#6B1895#6B1895

#6B1895 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.5% C 0.188 H 310.4°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#6B1895
RGBrgb(107, 24, 149)
HSLhsl(280, 72%, 34%)
HSVhsv(280, 84%, 58%)
CMYKcmyk(28.2%, 83.9%, 0%, 41.6%)
CIE-LABlab(29.28, 54.34, -50.54)
CIE-LCHlch(29.28, 74.21, 317.08°)
OKLaboklab(41.52% 0.1221 -0.1435)
OKLCHoklch(41.52% 0.188 310.4)
XYZxyz(11.8138, 5.9493, 28.9539)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1895 #429518
analogous
#2D1895 #6B1895 #951881
triadic
#6B1895 #956B18 #18956B
tetradic
#6B1895 #952D18 #429518 #188195
square
#6B1895 #952D18 #429518 #188195
split-complementary
#6B1895 #819518 #18952D
monochromatic
#1F072C #451060 #6B1895 #9120CA #AD46E1

Accessibility & contrast

On white

9.59
#6B1895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6B1895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1895
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1895#FFFFFF#000000##FFFFFF
##6B18951.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b1895;
/* rgb */ color: rgb(107, 24, 149);
/* oklch */ color: oklch(41.5% 0.188 310.4);
Tailwind
colors: {
  custom: {
    50: '#9a61b5',
    500: '#6b1895',
    950: '#000000',
  },
}
SCSS
$custom: #6b1895;
$custom-light: #9a61b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1895",
  "rgb": {
    "r": 107,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 279.84,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41517,
    "c": 0.18842,
    "h": 310.4
  },
  "luminance": 0.05949
}

Semantic roles & 50–950 ramp

primary
#6B1895
secondary
#70C246
accent
#EF3976
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6B1895

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

Preview Lab → · Contrast checker → · Palette generator →

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