#6E30B9#6E30B9

#6E30B9 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.201 H 299.0°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#6E30B9
RGBrgb(110, 48, 185)
HSLhsl(267, 59%, 46%)
HSVhsv(267, 74%, 73%)
CMYKcmyk(40.5%, 74.1%, 0%, 27.5%)
CIE-LABlab(35.85, 53.96, -61.49)
CIE-LCHlch(35.85, 81.81, 311.27°)
OKLaboklab(47.12% 0.0974 -0.1757)
OKLCHoklch(47.12% 0.201 299)
XYZxyz(16.2421, 8.9315, 46.7578)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E30B9 #7BB930
analogous
#3037B9 #6E30B9 #B230B9
triadic
#6E30B9 #B96E30 #30B96E
tetradic
#6E30B9 #B93037 #7BB930 #30B9B2
square
#6E30B9 #B93037 #7BB930 #30B9B2
split-complementary
#6E30B9 #B9B230 #37B930
monochromatic
#341758 #512388 #6E30B9 #8D54D3 #AD84DF

Accessibility & contrast

On white

7.54
#6E30B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E30B9
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E30B9#FFFFFF#000000##FFFFFF
##6E30B91.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e30b9;
/* rgb */ color: rgb(110, 48, 185);
/* oklch */ color: oklch(47.1% 0.201 299.0);
Tailwind
colors: {
  custom: {
    50: '#9e6ecf',
    500: '#6e30b9',
    950: '#000000',
  },
}
SCSS
$custom: #6e30b9;
$custom-light: #9e6ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#6e30b9",
  "rgb": {
    "r": 110,
    "g": 48,
    "b": 185
  },
  "hsl": {
    "h": 267.153,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47122,
    "c": 0.2009,
    "h": 299
  },
  "luminance": 0.08932
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6E30B9

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

Preview Lab → · Contrast checker → · Palette generator →

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