#6A308F#6A308F

#6A308F is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.4% C 0.154 H 309.5°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#6A308F
RGBrgb(106, 48, 143)
HSLhsl(277, 50%, 37%)
HSVhsv(277, 66%, 56%)
CMYKcmyk(25.9%, 66.4%, 0%, 43.9%)
CIE-LABlab(32.17, 42.90, -42.18)
CIE-LCHlch(32.17, 60.16, 315.49°)
OKLaboklab(43.39% 0.0982 -0.1191)
OKLCHoklch(43.39% 0.154 309.5)
XYZxyz(11.9578, 7.1615, 26.7336)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A308F #558F30
analogous
#3B308F #6A308F #8F3084
triadic
#6A308F #8F6A30 #308F6A
tetradic
#6A308F #8F3B30 #558F30 #30848F
square
#6A308F #8F3B30 #558F30 #30848F
split-complementary
#6A308F #848F30 #308F3B
monochromatic
#261133 #482161 #6A308F #8C3FBD #A86CCE

Accessibility & contrast

On white

8.63
#6A308F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6A308F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A308F
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A308F#FFFFFF#000000##FFFFFF
##6A308F1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#224D8D
Tritanopia (blue-blind)
#65435B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6a308f;
/* rgb */ color: rgb(106, 48, 143);
/* oklch */ color: oklch(43.4% 0.154 309.5);
Tailwind
colors: {
  custom: {
    50: '#986cb0',
    500: '#6a308f',
    950: '#000000',
  },
}
SCSS
$custom: #6a308f;
$custom-light: #986cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a308f",
  "rgb": {
    "r": 106,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 276.632,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43393,
    "c": 0.15437,
    "h": 309.5
  },
  "luminance": 0.07161
}

Semantic roles & 50–950 ramp

primary
#6A308F
secondary
#85B566
accent
#D94F85
background
#F9F6FA
surface
#F2ECF5
border
#CCC7CF
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6A308F

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

Preview Lab → · Contrast checker → · Palette generator →

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