#6B298C#6B298C

#6B298C is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.4% C 0.161 H 312.1°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#6B298C
RGBrgb(107, 41, 140)
HSLhsl(280, 55%, 35%)
HSVhsv(280, 71%, 55%)
CMYKcmyk(23.6%, 70.7%, 0%, 45.1%)
CIE-LABlab(30.89, 45.82, -42.38)
CIE-LCHlch(30.89, 62.42, 317.23°)
OKLaboklab(42.44% 0.1081 -0.1196)
OKLCHoklch(42.44% 0.161 312.1)
XYZxyz(11.5891, 6.6054, 25.4703)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B298C #4A8C29
analogous
#39298C #6B298C #8C297B
triadic
#6B298C #8C6B29 #298C6B
tetradic
#6B298C #8C3929 #4A8C29 #297B8C
square
#6B298C #8C3929 #4A8C29 #297B8C
split-complementary
#6B298C #7B8C29 #298C39
monochromatic
#230D2D #471B5D #6B298C #8F37BB #AB5FD0

Accessibility & contrast

On white

9.05
#6B298C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6B298C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B298C
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B298C#FFFFFF#000000##FFFFFF
##6B298C1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#1E4A8A
Tritanopia (blue-blind)
#673E57
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6b298c;
/* rgb */ color: rgb(107, 41, 140);
/* oklch */ color: oklch(42.4% 0.161 312.1);
Tailwind
colors: {
  custom: {
    50: '#9968ae',
    500: '#6b298c',
    950: '#000000',
  },
}
SCSS
$custom: #6b298c;
$custom-light: #9968ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6b298c",
  "rgb": {
    "r": 107,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 280,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42438,
    "c": 0.16121,
    "h": 312.1
  },
  "luminance": 0.06605
}

Semantic roles & 50–950 ramp

primary
#6B298C
secondary
#79B65B
accent
#DE4A7B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B298C

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

Preview Lab → · Contrast checker → · Palette generator →

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