#6A309B#6A309B

#6A309B is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.3% C 0.168 H 305.4°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#6A309B
RGBrgb(106, 48, 155)
HSLhsl(273, 53%, 40%)
HSVhsv(273, 69%, 61%)
CMYKcmyk(31.6%, 69%, 0%, 39.2%)
CIE-LABlab(33.02, 45.78, -48.16)
CIE-LCHlch(33.02, 66.45, 313.55°)
OKLaboklab(44.27% 0.097 -0.1367)
OKLCHoklch(44.27% 0.168 305.4)
XYZxyz(12.9159, 7.5447, 31.7798)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A309B #619B30
analogous
#34309B #6A309B #9B3097
triadic
#6A309B #9B6A30 #309B6A
tetradic
#6A309B #9B3430 #619B30 #30979B
square
#6A309B #9B3430 #619B30 #30979B
split-complementary
#6A309B #979B30 #309B34
monochromatic
#2A133E #4A226C #6A309B #8A43C5 #A772D3

Accessibility & contrast

On white

8.37
#6A309B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#6A309B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A309B
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A309B#FFFFFF#000000##FFFFFF
##6A309B1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#0C4E99
Tritanopia (blue-blind)
#614861
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6a309b;
/* rgb */ color: rgb(106, 48, 155);
/* oklch */ color: oklch(44.3% 0.168 305.4);
Tailwind
colors: {
  custom: {
    50: '#996db9',
    500: '#6a309b',
    950: '#000000',
  },
}
SCSS
$custom: #6a309b;
$custom-light: #996db9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a309b",
  "rgb": {
    "r": 106,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 272.523,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44268,
    "c": 0.16761,
    "h": 305.4
  },
  "luminance": 0.07545
}

Semantic roles & 50–950 ramp

primary
#6A309B
secondary
#90BB6C
accent
#DC4C8E
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6A309B

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

Preview Lab → · Contrast checker → · Palette generator →

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