#6D2283#6D2283

#6D2283 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.162 H 317.4°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#6D2283
RGBrgb(109, 34, 131)
HSLhsl(286, 59%, 32%)
HSVhsv(286, 74%, 51%)
CMYKcmyk(16.8%, 74%, 0%, 48.6%)
CIE-LABlab(29.50, 47.36, -39.01)
CIE-LCHlch(29.50, 61.36, 320.52°)
OKLaboklab(41.31% 0.1193 -0.1096)
OKLCHoklch(41.31% 0.162 317.4)
XYZxyz(10.9748, 6.0344, 22.0550)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2283 #388322
analogous
#3D2283 #6D2283 #832268
triadic
#6D2283 #836D22 #22836D
tetradic
#6D2283 #833D22 #388322 #226883
square
#6D2283 #833D22 #388322 #226883
split-complementary
#6D2283 #688322 #22833D
monochromatic
#1C0922 #451552 #6D2283 #952FB4 #B34ED1

Accessibility & contrast

On white

9.52
#6D2283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6D2283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2283
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2283#FFFFFF#000000##FFFFFF
##6D22831.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#254881
Tritanopia (blue-blind)
#6C3650
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6d2283;
/* rgb */ color: rgb(109, 34, 131);
/* oklch */ color: oklch(41.3% 0.162 317.4);
Tailwind
colors: {
  custom: {
    50: '#9a65a8',
    500: '#6d2283',
    950: '#000000',
  },
}
SCSS
$custom: #6d2283;
$custom-light: #9a65a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2283",
  "rgb": {
    "r": 109,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 286.392,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4131,
    "c": 0.16202,
    "h": 317.4
  },
  "luminance": 0.06034
}

Semantic roles & 50–950 ramp

primary
#6D2283
secondary
#64B44C
accent
#E24669
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D2283

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

Preview Lab → · Contrast checker → · Palette generator →

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