#6F37B8#6F37B8

#6F37B8 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.0% C 0.192 H 298.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#6F37B8
RGBrgb(111, 55, 184)
HSLhsl(266, 54%, 47%)
HSVhsv(266, 70%, 72%)
CMYKcmyk(39.7%, 70.1%, 0%, 27.8%)
CIE-LABlab(37.06, 50.60, -58.92)
CIE-LCHlch(37.06, 77.67, 310.66°)
OKLaboklab(47.98% 0.0923 -0.1682)
OKLCHoklch(47.98% 0.192 298.8)
XYZxyz(16.5713, 9.5724, 46.3127)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F37B8 #80B837
analogous
#373FB8 #6F37B8 #B037B8
triadic
#6F37B8 #B86F37 #37B86F
tetradic
#6F37B8 #B8373F #80B837 #37B8B0
square
#6F37B8 #B8373F #80B837 #37B8B0
split-complementary
#6F37B8 #B8B037 #3FB837
monochromatic
#361B5A #532989 #6F37B8 #8F5DCF #AF8DDD

Accessibility & contrast

On white

7.21
#6F37B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6F37B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F37B8
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F37B8#FFFFFF#000000##FFFFFF
##6F37B81.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#5E5673
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6f37b8;
/* rgb */ color: rgb(111, 55, 184);
/* oklch */ color: oklch(48.0% 0.192 298.8);
Tailwind
colors: {
  custom: {
    50: '#9e72ce',
    500: '#6f37b8',
    950: '#000000',
  },
}
SCSS
$custom: #6f37b8;
$custom-light: #9e72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6f37b8",
  "rgb": {
    "r": 111,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 266.047,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47984,
    "c": 0.19184,
    "h": 298.8
  },
  "luminance": 0.09573
}

Semantic roles & 50–950 ramp

primary
#6F37B8
secondary
#AAC784
accent
#DD4A9E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F37B8

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

Preview Lab → · Contrast checker → · Palette generator →

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