#6D2E90#6D2E90

#6D2E90 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.6% C 0.159 H 311.0°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#6D2E90
RGBrgb(109, 46, 144)
HSLhsl(279, 52%, 37%)
HSVhsv(279, 68%, 56%)
CMYKcmyk(24.3%, 68.1%, 0%, 43.5%)
CIE-LABlab(32.30, 44.83, -42.57)
CIE-LCHlch(32.30, 61.82, 316.48°)
OKLaboklab(43.6% 0.1046 -0.1201)
OKLCHoklch(43.6% 0.159 311)
XYZxyz(12.3168, 7.2191, 27.1247)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2E90 #51902E
analogous
#3C2E90 #6D2E90 #902E82
triadic
#6D2E90 #906D2E #2E906D
tetradic
#6D2E90 #903C2E #51902E #2E8290
square
#6D2E90 #903C2E #51902E #2E8290
split-complementary
#6D2E90 #82902E #2E903C
monochromatic
#271033 #4A1F62 #6D2E90 #903DBE #AB69CF

Accessibility & contrast

On white

8.59
#6D2E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6D2E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2E90
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2E90#FFFFFF#000000##FFFFFF
##6D2E901.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#224D8E
Tritanopia (blue-blind)
#69425B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6d2e90;
/* rgb */ color: rgb(109, 46, 144);
/* oklch */ color: oklch(43.6% 0.159 311.0);
Tailwind
colors: {
  custom: {
    50: '#9a6cb1',
    500: '#6d2e90',
    950: '#000000',
  },
}
SCSS
$custom: #6d2e90;
$custom-light: #9a6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2e90",
  "rgb": {
    "r": 109,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 278.571,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43597,
    "c": 0.1593,
    "h": 311
  },
  "luminance": 0.07219
}

Semantic roles & 50–950 ramp

primary
#6D2E90
secondary
#81B664
accent
#DB4D80
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6D2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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