#6B2296#6B2296

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

Color values

HEX#6B2296
RGBrgb(107, 34, 150)
HSLhsl(278, 63%, 36%)
HSVhsv(278, 77%, 59%)
CMYKcmyk(28.7%, 77.3%, 0%, 41.2%)
CIE-LABlab(30.57, 51.05, -49.05)
CIE-LCHlch(30.57, 70.80, 316.14°)
OKLaboklab(42.45% 0.1137 -0.1392)
OKLCHoklch(42.45% 0.18 309.2)
XYZxyz(12.1393, 6.4721, 29.4580)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2296 #4D9622
analogous
#312296 #6B2296 #962287
triadic
#6B2296 #966B22 #22966B
tetradic
#6B2296 #963122 #4D9622 #228796
square
#6B2296 #963122 #4D9622 #228796
split-complementary
#6B2296 #879622 #229631
monochromatic
#240B32 #471764 #6B2296 #8F2DC8 #AA59D9

Accessibility & contrast

On white

9.15
#6B2296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B2296
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2296#FFFFFF#000000##FFFFFF
##6B22961.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#653E5B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6b2296;
/* rgb */ color: rgb(107, 34, 150);
/* oklch */ color: oklch(42.4% 0.180 309.2);
Tailwind
colors: {
  custom: {
    50: '#9a65b6',
    500: '#6b2296',
    950: '#000000',
  },
}
SCSS
$custom: #6b2296;
$custom-light: #9a65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2296",
  "rgb": {
    "r": 107,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 277.759,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42445,
    "c": 0.17971,
    "h": 309.2
  },
  "luminance": 0.06472
}

Semantic roles & 50–950 ramp

primary
#6B2296
secondary
#7DBE56
accent
#E6427F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B2296

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

Preview Lab → · Contrast checker → · Palette generator →

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