#6D398D#6D398D

#6D398D is a dark, vivid violet. Relative luminance 0.081; OKLCH L 44.9% C 0.139 H 310.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#6D398D
RGBrgb(109, 57, 141)
HSLhsl(277, 42%, 39%)
HSVhsv(277, 60%, 55%)
CMYKcmyk(22.7%, 59.6%, 0%, 44.7%)
CIE-LABlab(34.19, 38.44, -37.69)
CIE-LCHlch(34.19, 53.84, 315.56°)
OKLaboklab(44.91% 0.0906 -0.1059)
OKLCHoklch(44.91% 0.139 310.6)
XYZxyz(12.5766, 8.1008, 26.0952)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D398D #598D39
analogous
#43398D #6D398D #8D3983
triadic
#6D398D #8D6D39 #398D6D
tetradic
#6D398D #8D4339 #598D39 #39838D
square
#6D398D #8D4339 #598D39 #39838D
split-complementary
#6D398D #838D39 #398D43
monochromatic
#2A1636 #4B2761 #6D398D #8E4CB7 #AA78C8

Accessibility & contrast

On white

8.01
#6D398D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6D398D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D398D
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D398D#FFFFFF#000000##FFFFFF
##6D398D1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4E90
Deuteranopia (green-blind)
#31518B
Tritanopia (blue-blind)
#69485D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6d398d;
/* rgb */ color: rgb(109, 57, 141);
/* oklch */ color: oklch(44.9% 0.139 310.6);
Tailwind
colors: {
  custom: {
    50: '#9972af',
    500: '#6d398d',
    950: '#000000',
  },
}
SCSS
$custom: #6d398d;
$custom-light: #9972af;
$custom-dark: #000000;
JSON
{
  "hex": "#6d398d",
  "rgb": {
    "r": 109,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 277.143,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44905,
    "c": 0.13941,
    "h": 310.6
  },
  "luminance": 0.08101
}

Semantic roles & 50–950 ramp

primary
#6D398D
secondary
#89B270
accent
#D25685
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0E0810
muted
#7E7B7F

Preview Lab

Preview with #6D398D

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

Preview Lab → · Contrast checker → · Palette generator →

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