#6A368D#6A368D

#6A368D is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.1% C 0.143 H 309.3°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#6A368D
RGBrgb(106, 54, 141)
HSLhsl(276, 45%, 38%)
HSVhsv(276, 62%, 55%)
CMYKcmyk(24.8%, 61.7%, 0%, 44.7%)
CIE-LABlab(33.19, 39.29, -39.32)
CIE-LCHlch(33.19, 55.58, 314.98°)
OKLaboklab(44.09% 0.0906 -0.1107)
OKLCHoklch(44.09% 0.143 309.3)
XYZxyz(12.0698, 7.6258, 26.0302)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A368D #598D36
analogous
#3E368D #6A368D #8D3684
triadic
#6A368D #8D6A36 #368D6A
tetradic
#6A368D #8D3E36 #598D36 #36848D
square
#6A368D #8D3E36 #598D36 #36848D
split-complementary
#6A368D #848D36 #368D3E
monochromatic
#271434 #492561 #6A368D #8B47B9 #A774CA

Accessibility & contrast

On white

8.32
#6A368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6A368D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A368D
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A368D#FFFFFF#000000##FFFFFF
##6A368D1.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124C90
Deuteranopia (green-blind)
#2B4F8B
Tritanopia (blue-blind)
#65475C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6a368d;
/* rgb */ color: rgb(106, 54, 141);
/* oklch */ color: oklch(44.1% 0.143 309.3);
Tailwind
colors: {
  custom: {
    50: '#9770af',
    500: '#6a368d',
    950: '#000000',
  },
}
SCSS
$custom: #6a368d;
$custom-light: #9770af;
$custom-dark: #000000;
JSON
{
  "hex": "#6a368d",
  "rgb": {
    "r": 106,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 275.862,
    "s": 44.615,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44089,
    "c": 0.14309,
    "h": 309.3
  },
  "luminance": 0.07626
}

Semantic roles & 50–950 ramp

primary
#6A368D
secondary
#89B26D
accent
#D45387
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E0810
muted
#7E7B7F

Preview Lab

Preview with #6A368D

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

Preview Lab → · Contrast checker → · Palette generator →

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