#6B2294#6B2294

#6B2294 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.178 H 309.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#6B2294
RGBrgb(107, 34, 148)
HSLhsl(278, 63%, 36%)
HSVhsv(278, 77%, 58%)
CMYKcmyk(27.7%, 77%, 0%, 42%)
CIE-LABlab(30.42, 50.61, -48.08)
CIE-LCHlch(30.42, 69.80, 316.47°)
OKLaboklab(42.29% 0.1141 -0.1363)
OKLCHoklch(42.29% 0.178 309.9)
XYZxyz(11.9797, 6.4082, 28.6171)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2294 #4B9422
analogous
#322294 #6B2294 #942284
triadic
#6B2294 #946B22 #22946B
tetradic
#6B2294 #943222 #4B9422 #228494
square
#6B2294 #943222 #4B9422 #228494
split-complementary
#6B2294 #849422 #229432
monochromatic
#230B30 #471762 #6B2294 #8F2DC6 #AA58D9

Accessibility & contrast

On white

9.20
#6B2294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B2294
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2294#FFFFFF#000000##FFFFFF
##6B22941.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b2294;
/* rgb */ color: rgb(107, 34, 148);
/* oklch */ color: oklch(42.3% 0.178 309.9);
Tailwind
colors: {
  custom: {
    50: '#9a65b4',
    500: '#6b2294',
    950: '#000000',
  },
}
SCSS
$custom: #6b2294;
$custom-light: #9a65b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2294",
  "rgb": {
    "r": 107,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 278.421,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42289,
    "c": 0.17775,
    "h": 309.9
  },
  "luminance": 0.06408
}

Semantic roles & 50–950 ramp

primary
#6B2294
secondary
#7ABD55
accent
#E6427D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B2294

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

Preview Lab → · Contrast checker → · Palette generator →

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