#6A309A#6A309A

#6A309A is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.167 H 305.7°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#6A309A
RGBrgb(106, 48, 154)
HSLhsl(273, 52%, 40%)
HSVhsv(273, 69%, 60%)
CMYKcmyk(31.2%, 68.8%, 0%, 39.6%)
CIE-LABlab(32.94, 45.54, -47.66)
CIE-LCHlch(32.94, 65.92, 313.69°)
OKLaboklab(44.19% 0.0972 -0.1352)
OKLCHoklch(44.19% 0.167 305.7)
XYZxyz(12.8323, 7.5113, 31.3394)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A309A #609A30
analogous
#35309A #6A309A #9A3095
triadic
#6A309A #9A6A30 #309A6A
tetradic
#6A309A #9A3530 #609A30 #30959A
square
#6A309A #9A3530 #609A30 #30959A
split-complementary
#6A309A #959A30 #309A35
monochromatic
#2A133D #4A216B #6A309A #8A43C4 #A772D3

Accessibility & contrast

On white

8.39
#6A309A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6A309A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A309A
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A309A#FFFFFF#000000##FFFFFF
##6A309A1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#0F4E98
Tritanopia (blue-blind)
#624861
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6a309a;
/* rgb */ color: rgb(106, 48, 154);
/* oklch */ color: oklch(44.2% 0.167 305.7);
Tailwind
colors: {
  custom: {
    50: '#996db8',
    500: '#6a309a',
    950: '#000000',
  },
}
SCSS
$custom: #6a309a;
$custom-light: #996db8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a309a",
  "rgb": {
    "r": 106,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 272.83,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44193,
    "c": 0.16651,
    "h": 305.7
  },
  "luminance": 0.07511
}

Semantic roles & 50–950 ramp

primary
#6A309A
secondary
#8FBB6B
accent
#DC4C8D
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6A309A

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

Preview Lab → · Contrast checker → · Palette generator →

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