#6A209F#6A209F

#6A209F is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.190 H 306.0°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#6A209F
RGBrgb(106, 32, 159)
HSLhsl(275, 66%, 37%)
HSVhsv(275, 80%, 62%)
CMYKcmyk(33.3%, 79.9%, 0%, 37.6%)
CIE-LABlab(30.88, 53.67, -54.05)
CIE-LCHlch(30.88, 76.17, 314.79°)
OKLaboklab(42.85% 0.1119 -0.1539)
OKLCHoklch(42.85% 0.19 306)
XYZxyz(12.7170, 6.6005, 33.3982)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A209F #559F20
analogous
#2B209F #6A209F #9F2094
triadic
#6A209F #9F6A20 #209F6A
tetradic
#6A209F #9F2B20 #559F20 #20949F
square
#6A209F #9F2B20 #559F20 #20949F
split-complementary
#6A209F #949F20 #209F2B
monochromatic
#260B39 #48166C #6A209F #8C2AD2 #A85BDE

Accessibility & contrast

On white

9.05
#6A209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6A209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A209F
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A209F#FFFFFF#000000##FFFFFF
##6A209F1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#604160
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6a209f;
/* rgb */ color: rgb(106, 32, 159);
/* oklch */ color: oklch(42.9% 0.190 306.0);
Tailwind
colors: {
  custom: {
    50: '#9a65bc',
    500: '#6a209f',
    950: '#000000',
  },
}
SCSS
$custom: #6a209f;
$custom-light: #9a65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a209f",
  "rgb": {
    "r": 106,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 274.961,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42854,
    "c": 0.19029,
    "h": 306
  },
  "luminance": 0.066
}

Semantic roles & 50–950 ramp

primary
#6A209F
secondary
#85C259
accent
#E93E86
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A209F

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

Preview Lab → · Contrast checker → · Palette generator →

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