#6B2293#6B2293

#6B2293 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.177 H 310.3°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#6B2293
RGBrgb(107, 34, 147)
HSLhsl(279, 62%, 35%)
HSVhsv(279, 77%, 58%)
CMYKcmyk(27.2%, 76.9%, 0%, 42.4%)
CIE-LABlab(30.34, 50.38, -47.59)
CIE-LCHlch(30.34, 69.30, 316.64°)
OKLaboklab(42.21% 0.1143 -0.1349)
OKLCHoklch(42.21% 0.177 310.3)
XYZxyz(11.9009, 6.3767, 28.2020)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2293 #4A9322
analogous
#322293 #6B2293 #932282
triadic
#6B2293 #936B22 #22936B
tetradic
#6B2293 #933222 #4A9322 #228293
square
#6B2293 #933222 #4A9322 #228293
split-complementary
#6B2293 #829322 #229332
monochromatic
#230B30 #471761 #6B2293 #8F2DC5 #AB57D8

Accessibility & contrast

On white

9.23
#6B2293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B2293
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2293#FFFFFF#000000##FFFFFF
##6B22931.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004496
Deuteranopia (green-blind)
#044991
Tritanopia (blue-blind)
#653D59
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6b2293;
/* rgb */ color: rgb(107, 34, 147);
/* oklch */ color: oklch(42.2% 0.177 310.3);
Tailwind
colors: {
  custom: {
    50: '#9a65b3',
    500: '#6b2293',
    950: '#000000',
  },
}
SCSS
$custom: #6b2293;
$custom-light: #9a65b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2293",
  "rgb": {
    "r": 107,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 278.761,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42211,
    "c": 0.17678,
    "h": 310.3
  },
  "luminance": 0.06376
}

Semantic roles & 50–950 ramp

primary
#6B2293
secondary
#79BC55
accent
#E5427C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B2293

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

Preview Lab → · Contrast checker → · Palette generator →

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