#6D33B1#6D33B1

#6D33B1 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.7% C 0.189 H 300.1°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#6D33B1
RGBrgb(109, 51, 177)
HSLhsl(268, 55%, 45%)
HSVhsv(268, 71%, 69%)
CMYKcmyk(38.4%, 71.2%, 0%, 30.6%)
CIE-LABlab(35.58, 50.39, -57.19)
CIE-LCHlch(35.58, 76.22, 311.38°)
OKLaboklab(46.71% 0.0947 -0.1631)
OKLCHoklch(46.71% 0.189 300.1)
XYZxyz(15.4243, 8.7930, 42.4710)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D33B1 #77B133
analogous
#3338B1 #6D33B1 #AC33B1
triadic
#6D33B1 #B16D33 #33B16D
tetradic
#6D33B1 #B13338 #77B133 #33B1AC
square
#6D33B1 #B13338 #77B133 #33B1AC
split-complementary
#6D33B1 #B1AC33 #38B133
monochromatic
#321852 #502581 #6D33B1 #8C54CE #AC83DB

Accessibility & contrast

On white

7.61
#6D33B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6D33B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D33B1
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D33B1#FFFFFF#000000##FFFFFF
##6D33B11.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0053AE
Tritanopia (blue-blind)
#5E526E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6d33b1;
/* rgb */ color: rgb(109, 51, 177);
/* oklch */ color: oklch(46.7% 0.189 300.1);
Tailwind
colors: {
  custom: {
    50: '#9d70c9',
    500: '#6d33b1',
    950: '#000000',
  },
}
SCSS
$custom: #6d33b1;
$custom-light: #9d70c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d33b1",
  "rgb": {
    "r": 109,
    "g": 51,
    "b": 177
  },
  "hsl": {
    "h": 267.619,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46705,
    "c": 0.18865,
    "h": 300.1
  },
  "luminance": 0.08793
}

Semantic roles & 50–950 ramp

primary
#6D33B1
secondary
#A3C57B
accent
#DF499A
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6D33B1

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

Preview Lab → · Contrast checker → · Palette generator →

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