#6E30B2#6E30B2

#6E30B2 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.193 H 300.7°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#6E30B2
RGBrgb(110, 48, 178)
HSLhsl(269, 58%, 44%)
HSVhsv(269, 73%, 70%)
CMYKcmyk(38.2%, 73%, 0%, 30.2%)
CIE-LABlab(35.29, 52.23, -58.26)
CIE-LCHlch(35.29, 78.25, 311.87°)
OKLaboklab(46.55% 0.0989 -0.1662)
OKLCHoklch(46.55% 0.193 300.7)
XYZxyz(15.5213, 8.6431, 42.9614)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E30B2 #74B230
analogous
#3033B2 #6E30B2 #AF30B2
triadic
#6E30B2 #B26E30 #30B26E
tetradic
#6E30B2 #B23033 #74B230 #30B2AF
square
#6E30B2 #B23033 #74B230 #30B2AF
split-complementary
#6E30B2 #B2AF30 #33B230
monochromatic
#321652 #502382 #6E30B2 #8D50D0 #AC80DD

Accessibility & contrast

On white

7.70
#6E30B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6E30B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E30B2
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E30B2#FFFFFF#000000##FFFFFF
##6E30B21.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#5F506E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6e30b2;
/* rgb */ color: rgb(110, 48, 178);
/* oklch */ color: oklch(46.5% 0.193 300.7);
Tailwind
colors: {
  custom: {
    50: '#9d6eca',
    500: '#6e30b2',
    950: '#000000',
  },
}
SCSS
$custom: #6e30b2;
$custom-light: #9d6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#6e30b2",
  "rgb": {
    "r": 110,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 268.615,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46548,
    "c": 0.19343,
    "h": 300.7
  },
  "luminance": 0.08643
}

Semantic roles & 50–950 ramp

primary
#6E30B2
secondary
#A1C678
accent
#E14797
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E30B2

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

Preview Lab → · Contrast checker → · Palette generator →

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