#6E30BA#6E30BA

#6E30BA is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.2% C 0.202 H 298.8°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#6E30BA
RGBrgb(110, 48, 186)
HSLhsl(267, 59%, 46%)
HSVhsv(267, 74%, 73%)
CMYKcmyk(40.9%, 74.2%, 0%, 27.1%)
CIE-LABlab(35.93, 54.21, -61.95)
CIE-LCHlch(35.93, 82.32, 311.19°)
OKLaboklab(47.21% 0.0972 -0.1771)
OKLCHoklch(47.21% 0.202 298.8)
XYZxyz(16.3480, 8.9738, 47.3157)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E30BA #7CBA30
analogous
#3037BA #6E30BA #B330BA
triadic
#6E30BA #BA6E30 #30BA6E
tetradic
#6E30BA #BA3037 #7CBA30 #30BAB3
square
#6E30BA #BA3037 #7CBA30 #30BAB3
split-complementary
#6E30BA #BAB330 #37BA30
monochromatic
#341759 #512389 #6E30BA #8D54D3 #AE85DF

Accessibility & contrast

On white

7.51
#6E30BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6E30BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E30BA
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E30BA#FFFFFF#000000##FFFFFF
##6E30BA1.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#0053B7
Tritanopia (blue-blind)
#5B5473
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6e30ba;
/* rgb */ color: rgb(110, 48, 186);
/* oklch */ color: oklch(47.2% 0.202 298.8);
Tailwind
colors: {
  custom: {
    50: '#9e6ed0',
    500: '#6e30ba',
    950: '#000000',
  },
}
SCSS
$custom: #6e30ba;
$custom-light: #9e6ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e30ba",
  "rgb": {
    "r": 110,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 266.957,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47206,
    "c": 0.20197,
    "h": 298.8
  },
  "luminance": 0.08974
}

Semantic roles & 50–950 ramp

primary
#6E30BA
secondary
#A7C97D
accent
#E2469C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6E30BA

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

Preview Lab → · Contrast checker → · Palette generator →

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