#6B3294#6B3294

#6B3294 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.1% C 0.157 H 308.0°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#6B3294
RGBrgb(107, 50, 148)
HSLhsl(275, 49%, 39%)
HSVhsv(275, 66%, 58%)
CMYKcmyk(27.7%, 66.2%, 0%, 42%)
CIE-LABlab(33.02, 43.31, -43.88)
CIE-LCHlch(33.02, 61.66, 314.63°)
OKLaboklab(44.14% 0.0968 -0.1241)
OKLCHoklch(44.14% 0.157 308)
XYZxyz(12.5482, 7.5453, 28.8066)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B3294 #5B9432
analogous
#3A3294 #6B3294 #94328C
triadic
#6B3294 #946B32 #32946B
tetradic
#6B3294 #943A32 #5B9432 #328C94
square
#6B3294 #943A32 #5B9432 #328C94
split-complementary
#6B3294 #8C9432 #32943A
monochromatic
#291339 #4A2366 #6B3294 #8C44C0 #A871CF

Accessibility & contrast

On white

8.37
#6B3294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6B3294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B3294
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B3294#FFFFFF#000000##FFFFFF
##6B32941.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#1F4E92
Tritanopia (blue-blind)
#65465E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6b3294;
/* rgb */ color: rgb(107, 50, 148);
/* oklch */ color: oklch(44.1% 0.157 308.0);
Tailwind
colors: {
  custom: {
    50: '#996eb4',
    500: '#6b3294',
    950: '#000000',
  },
}
SCSS
$custom: #6b3294;
$custom-light: #996eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b3294",
  "rgb": {
    "r": 107,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 274.898,
    "s": 49.495,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44141,
    "c": 0.15735,
    "h": 308
  },
  "luminance": 0.07545
}

Semantic roles & 50–950 ramp

primary
#6B3294
secondary
#8BB76B
accent
#D94F89
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6B3294

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

Preview Lab → · Contrast checker → · Palette generator →

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