#6A368B#6A368B

#6A368B is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.0% C 0.141 H 310.1°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#6A368B
RGBrgb(106, 54, 139)
HSLhsl(277, 44%, 38%)
HSVhsv(277, 61%, 55%)
CMYKcmyk(23.7%, 61.2%, 0%, 45.5%)
CIE-LABlab(33.06, 38.81, -38.29)
CIE-LCHlch(33.06, 54.52, 315.39°)
OKLaboklab(43.96% 0.0906 -0.1077)
OKLCHoklch(43.96% 0.141 310.1)
XYZxyz(11.9223, 7.5668, 25.2536)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A368B #578B36
analogous
#40368B #6A368B #8B3681
triadic
#6A368B #8B6A36 #368B6A
tetradic
#6A368B #8B4036 #578B36 #36818B
square
#6A368B #8B4036 #578B36 #36818B
split-complementary
#6A368B #818B36 #368B40
monochromatic
#271433 #48255F #6A368B #8C47B7 #A773C9

Accessibility & contrast

On white

8.36
#6A368B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6A368B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A368B
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A368B#FFFFFF#000000##FFFFFF
##6A368B1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164B8E
Deuteranopia (green-blind)
#2D4F89
Tritanopia (blue-blind)
#66465B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6a368b;
/* rgb */ color: rgb(106, 54, 139);
/* oklch */ color: oklch(44.0% 0.141 310.1);
Tailwind
colors: {
  custom: {
    50: '#9770ad',
    500: '#6a368b',
    950: '#000000',
  },
}
SCSS
$custom: #6a368b;
$custom-light: #9770ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6a368b",
  "rgb": {
    "r": 106,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 276.706,
    "s": 44.041,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43956,
    "c": 0.14078,
    "h": 310.1
  },
  "luminance": 0.07567
}

Semantic roles & 50–950 ramp

primary
#6A368B
secondary
#87B16C
accent
#D45486
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E0810
muted
#7E7B7F

Preview Lab

Preview with #6A368B

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

Preview Lab → · Contrast checker → · Palette generator →

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