#6C368B#6C368B

#6C368B is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.2% C 0.142 H 311.3°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#6C368B
RGBrgb(108, 54, 139)
HSLhsl(278, 44%, 38%)
HSVhsv(278, 61%, 55%)
CMYKcmyk(22.3%, 61.2%, 0%, 45.5%)
CIE-LABlab(33.33, 39.33, -37.85)
CIE-LCHlch(33.33, 54.58, 316.10°)
OKLaboklab(44.21% 0.0933 -0.1064)
OKLCHoklch(44.21% 0.142 311.3)
XYZxyz(12.1629, 7.6908, 25.2648)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C368B #558B36
analogous
#42368B #6C368B #8B367F
triadic
#6C368B #8B6C36 #368B6C
tetradic
#6C368B #8B4236 #558B36 #367F8B
square
#6C368B #8B4236 #558B36 #367F8B
split-complementary
#6C368B #7F8B36 #368B42
monochromatic
#281433 #4A255F #6C368B #8E47B7 #A973C9

Accessibility & contrast

On white

8.27
#6C368B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6C368B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C368B
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C368B#FFFFFF#000000##FFFFFF
##6C368B1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174C8E
Deuteranopia (green-blind)
#2F4F89
Tritanopia (blue-blind)
#68465B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6c368b;
/* rgb */ color: rgb(108, 54, 139);
/* oklch */ color: oklch(44.2% 0.142 311.3);
Tailwind
colors: {
  custom: {
    50: '#9970ad',
    500: '#6c368b',
    950: '#000000',
  },
}
SCSS
$custom: #6c368b;
$custom-light: #9970ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6c368b",
  "rgb": {
    "r": 108,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 278.118,
    "s": 44.041,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44208,
    "c": 0.14151,
    "h": 311.3
  },
  "luminance": 0.07691
}

Semantic roles & 50–950 ramp

primary
#6C368B
secondary
#85B16C
accent
#D45483
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E0810
muted
#7E7B7F

Preview Lab

Preview with #6C368B

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

Preview Lab → · Contrast checker → · Palette generator →

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