#6B2292#6B2292

#6B2292 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.176 H 310.6°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#6B2292
RGBrgb(107, 34, 146)
HSLhsl(279, 62%, 35%)
HSVhsv(279, 77%, 57%)
CMYKcmyk(26.7%, 76.7%, 0%, 42.7%)
CIE-LABlab(30.27, 50.16, -47.09)
CIE-LCHlch(30.27, 68.80, 316.81°)
OKLaboklab(42.13% 0.1145 -0.1334)
OKLCHoklch(42.13% 0.176 310.6)
XYZxyz(11.8227, 6.3455, 27.7905)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2292 #499222
analogous
#332292 #6B2292 #922281
triadic
#6B2292 #926B22 #22926B
tetradic
#6B2292 #923322 #499222 #228192
square
#6B2292 #923322 #499222 #228192
split-complementary
#6B2292 #819222 #229233
monochromatic
#220B2F #471660 #6B2292 #8F2EC4 #AB57D8

Accessibility & contrast

On white

9.26
#6B2292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6B2292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2292
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2292#FFFFFF#000000##FFFFFF
##6B22921.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#074890
Tritanopia (blue-blind)
#663C59
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6b2292;
/* rgb */ color: rgb(107, 34, 146);
/* oklch */ color: oklch(42.1% 0.176 310.6);
Tailwind
colors: {
  custom: {
    50: '#9a65b3',
    500: '#6b2292',
    950: '#000000',
  },
}
SCSS
$custom: #6b2292;
$custom-light: #9a65b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2292",
  "rgb": {
    "r": 107,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 279.107,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42133,
    "c": 0.1758,
    "h": 310.6
  },
  "luminance": 0.06345
}

Semantic roles & 50–950 ramp

primary
#6B2292
secondary
#78BC54
accent
#E5437B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B2292

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

Preview Lab → · Contrast checker → · Palette generator →

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