#6A0FB2#6A0FB2

#6A0FB2 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 43.4% C 0.220 H 301.7°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#6A0FB2
RGBrgb(106, 15, 178)
HSLhsl(273, 84%, 38%)
HSVhsv(273, 92%, 70%)
CMYKcmyk(40.4%, 91.6%, 0%, 30.2%)
CIE-LABlab(30.93, 62.72, -65.42)
CIE-LCHlch(30.93, 90.63, 313.79°)
OKLaboklab(43.4% 0.1157 -0.1871)
OKLCHoklch(43.4% 0.22 301.7)
XYZxyz(14.1486, 6.6201, 42.6432)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A0FB2 #57B20F
analogous
#190FB2 #6A0FB2 #B20FA8
triadic
#6A0FB2 #B26A0F #0FB26A
tetradic
#6A0FB2 #B2190F #57B20F #0FA8B2
square
#6A0FB2 #B2190F #57B20F #0FA8B2
split-complementary
#6A0FB2 #A8B20F #0FB219
monochromatic
#270541 #480A7A #6A0FB2 #8C14EA #A74CF0

Accessibility & contrast

On white

9.04
#6A0FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A0FB2
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A0FB2#FFFFFF#000000##FFFFFF
##6A0FB21.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#0048AF
Tritanopia (blue-blind)
#594568
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6a0fb2;
/* rgb */ color: rgb(106, 15, 178);
/* oklch */ color: oklch(43.4% 0.220 301.7);
Tailwind
colors: {
  custom: {
    50: '#9c60ca',
    500: '#6a0fb2',
    950: '#000000',
  },
}
SCSS
$custom: #6a0fb2;
$custom-light: #9c60ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6a0fb2",
  "rgb": {
    "r": 106,
    "g": 15,
    "b": 178
  },
  "hsl": {
    "h": 273.497,
    "s": 84.456,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43401,
    "c": 0.22,
    "h": 301.7
  },
  "luminance": 0.0662
}

Semantic roles & 50–950 ramp

primary
#6A0FB2
secondary
#87D14C
accent
#FB2D88
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6A0FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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