#6F33AB#6F33AB

#6F33AB is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.5% C 0.182 H 302.7°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#6F33AB
RGBrgb(111, 51, 171)
HSLhsl(270, 54%, 44%)
HSVhsv(270, 70%, 67%)
CMYKcmyk(35.1%, 70.2%, 0%, 32.9%)
CIE-LABlab(35.38, 49.29, -53.94)
CIE-LCHlch(35.38, 73.07, 312.42°)
OKLaboklab(46.47% 0.0986 -0.1535)
OKLCHoklch(46.47% 0.182 302.7)
XYZxyz(15.0883, 8.6874, 39.4021)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F33AB #6FAB33
analogous
#3333AB #6F33AB #AB33AB
triadic
#6F33AB #AB6F33 #33AB6F
tetradic
#6F33AB #AB3333 #6FAB33 #33ABAB
square
#6F33AB #AB3333 #6FAB33 #33ABAB
split-complementary
#6F33AB #ABAB33 #33AB33
monochromatic
#32174D #50257C #6F33AB #8E50CB #AC7FD9

Accessibility & contrast

On white

7.67
#6F33AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6F33AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F33AB
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F33AB#FFFFFF#000000##FFFFFF
##6F33AB1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#634F6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6f33ab;
/* rgb */ color: rgb(111, 51, 171);
/* oklch */ color: oklch(46.5% 0.182 302.7);
Tailwind
colors: {
  custom: {
    50: '#9d70c5',
    500: '#6f33ab',
    950: '#000000',
  },
}
SCSS
$custom: #6f33ab;
$custom-light: #9d70c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f33ab",
  "rgb": {
    "r": 111,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 270,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46469,
    "c": 0.18244,
    "h": 302.7
  },
  "luminance": 0.08687
}

Semantic roles & 50–950 ramp

primary
#6F33AB
secondary
#9DC278
accent
#DD4A94
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F33AB

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

Preview Lab → · Contrast checker → · Palette generator →

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