#6E30B8#6E30B8

#6E30B8 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.0% C 0.200 H 299.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#6E30B8
RGBrgb(110, 48, 184)
HSLhsl(267, 59%, 45%)
HSVhsv(267, 74%, 72%)
CMYKcmyk(40.2%, 73.9%, 0%, 27.8%)
CIE-LABlab(35.77, 53.71, -61.03)
CIE-LCHlch(35.77, 81.30, 311.35°)
OKLaboklab(47.04% 0.0976 -0.1744)
OKLCHoklch(47.04% 0.2 299.2)
XYZxyz(16.1369, 8.8894, 46.2038)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E30B8 #7AB830
analogous
#3036B8 #6E30B8 #B230B8
triadic
#6E30B8 #B86E30 #30B86E
tetradic
#6E30B8 #B83036 #7AB830 #30B8B2
square
#6E30B8 #B83036 #7AB830 #30B8B2
split-complementary
#6E30B8 #B8B230 #36B830
monochromatic
#341757 #512387 #6E30B8 #8D53D2 #AD84DF

Accessibility & contrast

On white

7.56
#6E30B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6E30B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E30B8
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E30B8#FFFFFF#000000##FFFFFF
##6E30B81.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#5C5372
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6e30b8;
/* rgb */ color: rgb(110, 48, 184);
/* oklch */ color: oklch(47.0% 0.200 299.2);
Tailwind
colors: {
  custom: {
    50: '#9e6ece',
    500: '#6e30b8',
    950: '#000000',
  },
}
SCSS
$custom: #6e30b8;
$custom-light: #9e6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#6e30b8",
  "rgb": {
    "r": 110,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 267.353,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4704,
    "c": 0.19984,
    "h": 299.2
  },
  "luminance": 0.0889
}

Semantic roles & 50–950 ramp

primary
#6E30B8
secondary
#A5C87C
accent
#E2469B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6E30B8

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

Preview Lab → · Contrast checker → · Palette generator →

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