#6B2394#6B2394

#6B2394 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.177 H 309.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#6B2394
RGBrgb(107, 35, 148)
HSLhsl(278, 62%, 36%)
HSVhsv(278, 76%, 58%)
CMYKcmyk(27.7%, 76.4%, 0%, 42%)
CIE-LABlab(30.56, 50.21, -47.85)
CIE-LCHlch(30.56, 69.36, 316.38°)
OKLaboklab(42.39% 0.1131 -0.1357)
OKLCHoklch(42.39% 0.177 309.8)
XYZxyz(12.0087, 6.4662, 28.6267)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2394 #4C9423
analogous
#322394 #6B2394 #942384
triadic
#6B2394 #946B23 #23946B
tetradic
#6B2394 #943223 #4C9423 #238494
square
#6B2394 #943223 #4C9423 #238494
split-complementary
#6B2394 #849423 #239432
monochromatic
#230C31 #471763 #6B2394 #8F2FC5 #AA5AD8

Accessibility & contrast

On white

9.16
#6B2394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6B2394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2394
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2394#FFFFFF#000000##FFFFFF
##6B23941.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#034992
Tritanopia (blue-blind)
#653E5A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6b2394;
/* rgb */ color: rgb(107, 35, 148);
/* oklch */ color: oklch(42.4% 0.177 309.8);
Tailwind
colors: {
  custom: {
    50: '#9a66b4',
    500: '#6b2394',
    950: '#000000',
  },
}
SCSS
$custom: #6b2394;
$custom-light: #9a66b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2394",
  "rgb": {
    "r": 107,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 278.23,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42387,
    "c": 0.17665,
    "h": 309.8
  },
  "luminance": 0.06466
}

Semantic roles & 50–950 ramp

primary
#6B2394
secondary
#7BBC57
accent
#E5437E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B2394

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

Preview Lab → · Contrast checker → · Palette generator →

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