#6A398F#6A398F

#6A398F is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.7% C 0.141 H 308.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#6A398F
RGBrgb(106, 57, 143)
HSLhsl(274, 43%, 39%)
HSVhsv(274, 60%, 56%)
CMYKcmyk(25.9%, 60.1%, 0%, 43.9%)
CIE-LABlab(33.93, 38.13, -39.36)
CIE-LCHlch(33.93, 54.81, 314.09°)
OKLaboklab(44.67% 0.0866 -0.1109)
OKLCHoklch(44.67% 0.141 308)
XYZxyz(12.3639, 7.9738, 26.8690)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A398F #5E8F39
analogous
#3F398F #6A398F #8F3989
triadic
#6A398F #8F6A39 #398F6A
tetradic
#6A398F #8F3F39 #5E8F39 #39898F
square
#6A398F #8F3F39 #5E8F39 #39898F
split-complementary
#6A398F #898F39 #398F3F
monochromatic
#291637 #4A2863 #6A398F #8A4DB8 #A779CA

Accessibility & contrast

On white

8.09
#6A398F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6A398F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A398F
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A398F#FFFFFF#000000##FFFFFF
##6A398F1.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174E92
Deuteranopia (green-blind)
#2C508D
Tritanopia (blue-blind)
#64495E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6a398f;
/* rgb */ color: rgb(106, 57, 143);
/* oklch */ color: oklch(44.7% 0.141 308.0);
Tailwind
colors: {
  custom: {
    50: '#9772b0',
    500: '#6a398f',
    950: '#000000',
  },
}
SCSS
$custom: #6a398f;
$custom-light: #9772b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a398f",
  "rgb": {
    "r": 106,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 274.186,
    "s": 43,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44668,
    "c": 0.14071,
    "h": 308
  },
  "luminance": 0.07974
}

Semantic roles & 50–950 ramp

primary
#6A398F
secondary
#8DB371
accent
#D3558B
background
#F9F7FA
surface
#F2EDF5
border
#CCC8CF
text
#0E0810
muted
#7E7B7F

Preview Lab

Preview with #6A398F

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

Preview Lab → · Contrast checker → · Palette generator →

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