#6B1B94#6B1B94

#6B1B94 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.7% C 0.185 H 310.5°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#6B1B94
RGBrgb(107, 27, 148)
HSLhsl(280, 69%, 34%)
HSVhsv(280, 82%, 58%)
CMYKcmyk(27.7%, 81.8%, 0%, 42%)
CIE-LABlab(29.53, 53.16, -49.51)
CIE-LCHlch(29.53, 72.65, 317.04°)
OKLaboklab(41.67% 0.1201 -0.1405)
OKLCHoklch(41.67% 0.185 310.5)
XYZxyz(11.7996, 6.0481, 28.5570)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1B94 #44941B
analogous
#2E1B94 #6B1B94 #941B81
triadic
#6B1B94 #946B1B #1B946B
tetradic
#6B1B94 #942E1B #44941B #1B8194
square
#6B1B94 #942E1B #44941B #1B8194
split-complementary
#6B1B94 #81941B #1B942E
monochromatic
#20082C #461260 #6B1B94 #9024C8 #AC4BDE

Accessibility & contrast

On white

9.50
#6B1B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6B1B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1B94
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1B94#FFFFFF#000000##FFFFFF
##6B1B941.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#004792
Tritanopia (blue-blind)
#653A58
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6b1b94;
/* rgb */ color: rgb(107, 27, 148);
/* oklch */ color: oklch(41.7% 0.185 310.5);
Tailwind
colors: {
  custom: {
    50: '#9a62b4',
    500: '#6b1b94',
    950: '#000000',
  },
}
SCSS
$custom: #6b1b94;
$custom-light: #9a62b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1b94",
  "rgb": {
    "r": 107,
    "g": 27,
    "b": 148
  },
  "hsl": {
    "h": 279.669,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41666,
    "c": 0.18485,
    "h": 310.5
  },
  "luminance": 0.06048
}

Semantic roles & 50–950 ramp

primary
#6B1B94
secondary
#72C04B
accent
#EC3C78
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6B1B94

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

Preview Lab → · Contrast checker → · Palette generator →

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