#6D33B3#6D33B3

#6D33B3 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.9% C 0.191 H 299.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#6D33B3
RGBrgb(109, 51, 179)
HSLhsl(267, 56%, 45%)
HSVhsv(267, 72%, 70%)
CMYKcmyk(39.1%, 71.5%, 0%, 29.8%)
CIE-LABlab(35.74, 50.89, -58.13)
CIE-LCHlch(35.74, 77.26, 311.20°)
OKLaboklab(46.87% 0.0943 -0.1659)
OKLCHoklch(46.87% 0.191 299.6)
XYZxyz(15.6252, 8.8734, 43.5286)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D33B3 #79B333
analogous
#3339B3 #6D33B3 #AD33B3
triadic
#6D33B3 #B36D33 #33B36D
tetradic
#6D33B3 #B33339 #79B333 #33B3AD
square
#6D33B3 #B33339 #79B333 #33B3AD
split-complementary
#6D33B3 #B3AD33 #39B333
monochromatic
#331854 #502583 #6D33B3 #8C55CE #AC84DC

Accessibility & contrast

On white

7.57
#6D33B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6D33B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D33B3
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D33B3#FFFFFF#000000##FFFFFF
##6D33B31.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#5D5270
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6d33b3;
/* rgb */ color: rgb(109, 51, 179);
/* oklch */ color: oklch(46.9% 0.191 299.6);
Tailwind
colors: {
  custom: {
    50: '#9d70cb',
    500: '#6d33b3',
    950: '#000000',
  },
}
SCSS
$custom: #6d33b3;
$custom-light: #9d70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d33b3",
  "rgb": {
    "r": 109,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 267.188,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46866,
    "c": 0.19085,
    "h": 299.6
  },
  "luminance": 0.08874
}

Semantic roles & 50–950 ramp

primary
#6D33B3
secondary
#A4C67C
accent
#DF499B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6D33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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