#6D2F93#6D2F93

#6D2F93 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.9% C 0.161 H 309.8°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#6D2F93
RGBrgb(109, 47, 147)
HSLhsl(277, 52%, 38%)
HSVhsv(277, 68%, 58%)
CMYKcmyk(25.9%, 68%, 0%, 42.4%)
CIE-LABlab(32.68, 45.04, -43.80)
CIE-LCHlch(32.68, 62.82, 315.80°)
OKLaboklab(43.94% 0.1032 -0.1237)
OKLCHoklch(43.94% 0.161 309.8)
XYZxyz(12.5886, 7.3911, 28.3616)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2F93 #55932F
analogous
#3B2F93 #6D2F93 #932F87
triadic
#6D2F93 #936D2F #2F936D
tetradic
#6D2F93 #933B2F #55932F #2F8793
square
#6D2F93 #933B2F #55932F #2F8793
split-complementary
#6D2F93 #87932F #2F933B
monochromatic
#281136 #4B2065 #6D2F93 #8F3EC1 #AA6CD0

Accessibility & contrast

On white

8.47
#6D2F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6D2F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2F93
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2F93#FFFFFF#000000##FFFFFF
##6D2F931.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A96
Deuteranopia (green-blind)
#204E91
Tritanopia (blue-blind)
#68445D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6d2f93;
/* rgb */ color: rgb(109, 47, 147);
/* oklch */ color: oklch(43.9% 0.161 309.8);
Tailwind
colors: {
  custom: {
    50: '#9a6cb3',
    500: '#6d2f93',
    950: '#000000',
  },
}
SCSS
$custom: #6d2f93;
$custom-light: #9a6cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2f93",
  "rgb": {
    "r": 109,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 277.2,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43936,
    "c": 0.16112,
    "h": 309.8
  },
  "luminance": 0.07391
}

Semantic roles & 50–950 ramp

primary
#6D2F93
secondary
#85B766
accent
#DB4D83
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6D2F93

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

Preview Lab → · Contrast checker → · Palette generator →

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