#6D239F#6D239F

#6D239F is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.188 H 307.2°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#6D239F
RGBrgb(109, 35, 159)
HSLhsl(276, 64%, 38%)
HSVhsv(276, 78%, 62%)
CMYKcmyk(31.4%, 78%, 0%, 37.6%)
CIE-LABlab(31.71, 53.06, -52.69)
CIE-LCHlch(31.71, 74.77, 315.20°)
OKLaboklab(43.53% 0.1136 -0.1498)
OKLCHoklch(43.53% 0.188 307.2)
XYZxyz(13.1644, 6.9566, 33.4434)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D239F #559F23
analogous
#2F239F #6D239F #9F2393
triadic
#6D239F #9F6D23 #239F6D
tetradic
#6D239F #9F2F23 #559F23 #23939F
square
#6D239F #9F2F23 #559F23 #23939F
split-complementary
#6D239F #939F23 #239F2F
monochromatic
#280D3B #4B186D #6D239F #8F2ED1 #AA60DC

Accessibility & contrast

On white

8.78
#6D239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6D239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D239F
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D239F#FFFFFF#000000##FFFFFF
##6D239F1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#644260
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6d239f;
/* rgb */ color: rgb(109, 35, 159);
/* oklch */ color: oklch(43.5% 0.188 307.2);
Tailwind
colors: {
  custom: {
    50: '#9c67bc',
    500: '#6d239f',
    950: '#000000',
  },
}
SCSS
$custom: #6d239f;
$custom-light: #9c67bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d239f",
  "rgb": {
    "r": 109,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 275.806,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43525,
    "c": 0.18802,
    "h": 307.2
  },
  "luminance": 0.06956
}

Semantic roles & 50–950 ramp

primary
#6D239F
secondary
#85C15D
accent
#E74184
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D239F

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

Preview Lab → · Contrast checker → · Palette generator →

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