#6B2295#6B2295

#6B2295 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.179 H 309.6°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#6B2295
RGBrgb(107, 34, 149)
HSLhsl(278, 63%, 36%)
HSVhsv(278, 77%, 58%)
CMYKcmyk(28.2%, 77.2%, 0%, 41.6%)
CIE-LABlab(30.50, 50.83, -48.57)
CIE-LCHlch(30.50, 70.30, 316.30°)
OKLaboklab(42.37% 0.1139 -0.1377)
OKLCHoklch(42.37% 0.179 309.6)
XYZxyz(12.0592, 6.4400, 29.0357)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2295 #4C9522
analogous
#312295 #6B2295 #952285
triadic
#6B2295 #956B22 #22956B
tetradic
#6B2295 #953122 #4C9522 #228595
square
#6B2295 #953122 #4C9522 #228595
split-complementary
#6B2295 #859522 #229531
monochromatic
#230B31 #471763 #6B2295 #8F2DC7 #AA58D9

Accessibility & contrast

On white

9.18
#6B2295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B2295
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2295#FFFFFF#000000##FFFFFF
##6B22951.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#004993
Tritanopia (blue-blind)
#653E5A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6b2295;
/* rgb */ color: rgb(107, 34, 149);
/* oklch */ color: oklch(42.4% 0.179 309.6);
Tailwind
colors: {
  custom: {
    50: '#9a65b5',
    500: '#6b2295',
    950: '#000000',
  },
}
SCSS
$custom: #6b2295;
$custom-light: #9a65b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2295",
  "rgb": {
    "r": 107,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 278.087,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42367,
    "c": 0.17873,
    "h": 309.6
  },
  "luminance": 0.0644
}

Semantic roles & 50–950 ramp

primary
#6B2295
secondary
#7BBD56
accent
#E6427E
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B2295

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

Preview Lab → · Contrast checker → · Palette generator →

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