#6D2094#6D2094

#6D2094 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.181 H 311.1°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#6D2094
RGBrgb(109, 32, 148)
HSLhsl(280, 64%, 35%)
HSVhsv(280, 78%, 58%)
CMYKcmyk(26.4%, 78.4%, 0%, 42%)
CIE-LABlab(30.45, 51.76, -48.01)
CIE-LCHlch(30.45, 70.59, 317.15°)
OKLaboklab(42.38% 0.1187 -0.136)
OKLCHoklch(42.38% 0.181 311.1)
XYZxyz(12.1675, 6.4227, 28.6100)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2094 #479420
analogous
#332094 #6D2094 #942081
triadic
#6D2094 #946D20 #20946D
tetradic
#6D2094 #943320 #479420 #208194
square
#6D2094 #943320 #479420 #208194
split-complementary
#6D2094 #819420 #209433
monochromatic
#230A2F #481562 #6D2094 #922BC6 #AD54DA

Accessibility & contrast

On white

9.19
#6D2094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D2094
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2094#FFFFFF#000000##FFFFFF
##6D20941.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#044992
Tritanopia (blue-blind)
#683C59
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6d2094;
/* rgb */ color: rgb(109, 32, 148);
/* oklch */ color: oklch(42.4% 0.181 311.1);
Tailwind
colors: {
  custom: {
    50: '#9b65b4',
    500: '#6d2094',
    950: '#000000',
  },
}
SCSS
$custom: #6d2094;
$custom-light: #9b65b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2094",
  "rgb": {
    "r": 109,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 279.828,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42375,
    "c": 0.18052,
    "h": 311.1
  },
  "luminance": 0.06422
}

Semantic roles & 50–950 ramp

primary
#6D2094
secondary
#76BE52
accent
#E74079
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6D2094

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

Preview Lab → · Contrast checker → · Palette generator →

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