#6D2394#6D2394

#6D2394 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.177 H 310.8°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#6D2394
RGBrgb(109, 35, 148)
HSLhsl(279, 62%, 36%)
HSVhsv(279, 76%, 58%)
CMYKcmyk(26.4%, 76.4%, 0%, 42%)
CIE-LABlab(30.86, 50.60, -47.35)
CIE-LCHlch(30.86, 69.30, 316.90°)
OKLaboklab(42.66% 0.1159 -0.1341)
OKLCHoklch(42.66% 0.177 310.8)
XYZxyz(12.2520, 6.5917, 28.6381)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2394 #4A9423
analogous
#342394 #6D2394 #942382
triadic
#6D2394 #946D23 #23946D
tetradic
#6D2394 #943423 #4A9423 #238294
square
#6D2394 #943423 #4A9423 #238294
split-complementary
#6D2394 #829423 #239434
monochromatic
#240C31 #491763 #6D2394 #912FC5 #AC5AD8

Accessibility & contrast

On white

9.06
#6D2394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6D2394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2394
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2394#FFFFFF#000000##FFFFFF
##6D23941.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#0A4A92
Tritanopia (blue-blind)
#683D5A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6d2394;
/* rgb */ color: rgb(109, 35, 148);
/* oklch */ color: oklch(42.7% 0.177 310.8);
Tailwind
colors: {
  custom: {
    50: '#9b66b4',
    500: '#6d2394',
    950: '#000000',
  },
}
SCSS
$custom: #6d2394;
$custom-light: #9b66b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2394",
  "rgb": {
    "r": 109,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 279.292,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4266,
    "c": 0.17726,
    "h": 310.8
  },
  "luminance": 0.06591
}

Semantic roles & 50–950 ramp

primary
#6D2394
secondary
#7ABC57
accent
#E5437B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6D2394

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

Preview Lab → · Contrast checker → · Palette generator →

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