#6F33A5#6F33A5

#6F33A5 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.0% C 0.176 H 304.4°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#6F33A5
RGBrgb(111, 51, 165)
HSLhsl(272, 53%, 42%)
HSVhsv(272, 69%, 65%)
CMYKcmyk(32.7%, 69.1%, 0%, 35.3%)
CIE-LABlab(34.93, 47.82, -51.07)
CIE-LCHlch(34.93, 69.96, 313.12°)
OKLaboklab(46.01% 0.0994 -0.1451)
OKLCHoklch(46.01% 0.176 304.4)
XYZxyz(14.5294, 8.4638, 36.4583)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F33A5 #69A533
analogous
#3633A5 #6F33A5 #A533A2
triadic
#6F33A5 #A56F33 #33A56F
tetradic
#6F33A5 #A53633 #69A533 #33A2A5
square
#6F33A5 #A53633 #69A533 #33A2A5
split-complementary
#6F33A5 #A2A533 #33A536
monochromatic
#301648 #502576 #6F33A5 #8E4DC8 #AC7CD6

Accessibility & contrast

On white

7.80
#6F33A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6F33A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F33A5
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F33A5#FFFFFF#000000##FFFFFF
##6F33A51.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A8
Deuteranopia (green-blind)
#0452A3
Tritanopia (blue-blind)
#654D68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6f33a5;
/* rgb */ color: rgb(111, 51, 165);
/* oklch */ color: oklch(46.0% 0.176 304.4);
Tailwind
colors: {
  custom: {
    50: '#9d6fc0',
    500: '#6f33a5',
    950: '#000000',
  },
}
SCSS
$custom: #6f33a5;
$custom-light: #9d6fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f33a5",
  "rgb": {
    "r": 111,
    "g": 51,
    "b": 165
  },
  "hsl": {
    "h": 271.579,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46011,
    "c": 0.17586,
    "h": 304.4
  },
  "luminance": 0.08464
}

Semantic roles & 50–950 ramp

primary
#6F33A5
secondary
#98BF75
accent
#DC4C90
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #6F33A5

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

Preview Lab → · Contrast checker → · Palette generator →

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