#6A307C#6A307C

#6A307C is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.1% C 0.134 H 317.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#6A307C
RGBrgb(106, 48, 124)
HSLhsl(286, 44%, 34%)
HSVhsv(286, 61%, 49%)
CMYKcmyk(14.5%, 61.3%, 0%, 51.4%)
CIE-LABlab(30.96, 38.56, -32.32)
CIE-LCHlch(30.96, 50.31, 320.03°)
OKLaboklab(42.12% 0.0984 -0.0903)
OKLCHoklch(42.12% 0.134 317.5)
XYZxyz(10.6384, 6.6337, 19.7849)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A307C #427C30
analogous
#44307C #6A307C #7C3068
triadic
#6A307C #7C6A30 #307C6A
tetradic
#6A307C #7C4430 #427C30 #30687C
square
#6A307C #7C4430 #427C30 #30687C
split-complementary
#6A307C #687C30 #307C44
monochromatic
#1F0E24 #441F50 #6A307C #9041A8 #AC64C3

Accessibility & contrast

On white

9.03
#6A307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6A307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A307C
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A307C#FFFFFF#000000##FFFFFF
##6A307C1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C457E
Deuteranopia (green-blind)
#324B7A
Tritanopia (blue-blind)
#693D51
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6a307c;
/* rgb */ color: rgb(106, 48, 124);
/* oklch */ color: oklch(42.1% 0.134 317.5);
Tailwind
colors: {
  custom: {
    50: '#976ca2',
    500: '#6a307c',
    950: '#000000',
  },
}
SCSS
$custom: #6a307c;
$custom-light: #976ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a307c",
  "rgb": {
    "r": 106,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 285.789,
    "s": 44.186,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42124,
    "c": 0.13356,
    "h": 317.5
  },
  "luminance": 0.06633
}

Semantic roles & 50–950 ramp

primary
#6A307C
secondary
#70AA5E
accent
#D45472
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6A307C

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

Preview Lab → · Contrast checker → · Palette generator →

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