#6B2094#6B2094

#6B2094 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.180 H 310.1°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#6B2094
RGBrgb(107, 32, 148)
HSLhsl(279, 64%, 35%)
HSVhsv(279, 78%, 58%)
CMYKcmyk(27.7%, 78.4%, 0%, 42%)
CIE-LABlab(30.15, 51.38, -48.51)
CIE-LCHlch(30.15, 70.66, 316.64°)
OKLaboklab(42.1% 0.1159 -0.1376)
OKLCHoklch(42.1% 0.18 310.1)
XYZxyz(11.9242, 6.2972, 28.5986)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2094 #499420
analogous
#312094 #6B2094 #942083
triadic
#6B2094 #946B20 #20946B
tetradic
#6B2094 #943120 #499420 #208394
square
#6B2094 #943120 #499420 #208394
split-complementary
#6B2094 #839420 #209431
monochromatic
#220A2F #471562 #6B2094 #8F2BC6 #AB54DA

Accessibility & contrast

On white

9.29
#6B2094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6B2094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2094
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2094#FFFFFF#000000##FFFFFF
##6B20941.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#653C59
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6b2094;
/* rgb */ color: rgb(107, 32, 148);
/* oklch */ color: oklch(42.1% 0.180 310.1);
Tailwind
colors: {
  custom: {
    50: '#9a64b4',
    500: '#6b2094',
    950: '#000000',
  },
}
SCSS
$custom: #6b2094;
$custom-light: #9a64b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2094",
  "rgb": {
    "r": 107,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 278.793,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42099,
    "c": 0.17991,
    "h": 310.1
  },
  "luminance": 0.06297
}

Semantic roles & 50–950 ramp

primary
#6B2094
secondary
#78BE52
accent
#E7407B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B2094

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

Preview Lab → · Contrast checker → · Palette generator →

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