#6E30A5#6E30A5

#6E30A5 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.179 H 304.3°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#6E30A5
RGBrgb(110, 48, 165)
HSLhsl(272, 55%, 42%)
HSVhsv(272, 71%, 65%)
CMYKcmyk(33.3%, 70.9%, 0%, 35.3%)
CIE-LABlab(34.28, 49.05, -52.12)
CIE-LCHlch(34.28, 71.57, 313.26°)
OKLaboklab(45.52% 0.1013 -0.1482)
OKLCHoklch(45.52% 0.179 304.3)
XYZxyz(14.2773, 8.1456, 36.4101)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E30A5 #67A530
analogous
#3430A5 #6E30A5 #A530A2
triadic
#6E30A5 #A56E30 #30A56E
tetradic
#6E30A5 #A53430 #67A530 #30A2A5
square
#6E30A5 #A53430 #67A530 #30A2A5
split-complementary
#6E30A5 #A2A530 #30A534
monochromatic
#2F1446 #4E2276 #6E30A5 #8D48CA #AB78D8

Accessibility & contrast

On white

7.99
#6E30A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6E30A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E30A5
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E30A5#FFFFFF#000000##FFFFFF
##6E30A51.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0051A3
Tritanopia (blue-blind)
#644B67
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6e30a5;
/* rgb */ color: rgb(110, 48, 165);
/* oklch */ color: oklch(45.5% 0.179 304.3);
Tailwind
colors: {
  custom: {
    50: '#9c6ec0',
    500: '#6e30a5',
    950: '#000000',
  },
}
SCSS
$custom: #6e30a5;
$custom-light: #9c6ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e30a5",
  "rgb": {
    "r": 110,
    "g": 48,
    "b": 165
  },
  "hsl": {
    "h": 271.795,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45521,
    "c": 0.17948,
    "h": 304.3
  },
  "luminance": 0.08146
}

Semantic roles & 50–950 ramp

primary
#6E30A5
secondary
#96C071
accent
#DE4A8F
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E30A5

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

Preview Lab → · Contrast checker → · Palette generator →

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