#6F37C2#6F37C2

#6F37C2 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.8% C 0.203 H 296.5°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#6F37C2
RGBrgb(111, 55, 194)
HSLhsl(264, 56%, 49%)
HSVhsv(264, 72%, 76%)
CMYKcmyk(42.8%, 71.6%, 0%, 23.9%)
CIE-LABlab(37.85, 53.16, -63.51)
CIE-LCHlch(37.85, 82.82, 309.93°)
OKLaboklab(48.79% 0.0904 -0.1817)
OKLCHoklch(48.79% 0.203 296.5)
XYZxyz(17.6568, 10.0066, 52.0297)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F37C2 #8AC237
analogous
#3745C2 #6F37C2 #B537C2
triadic
#6F37C2 #C26F37 #37C26F
tetradic
#6F37C2 #C23745 #8AC237 #37C2B5
square
#6F37C2 #C23745 #8AC237 #37C2B5
split-complementary
#6F37C2 #C2B537 #45C237
monochromatic
#381C63 #542992 #6F37C2 #9063D3 #B293E0

Accessibility & contrast

On white

7.00
#6F37C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#6F37C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F37C2
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F37C2#FFFFFF#000000##FFFFFF
##6F37C21.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#595A79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6f37c2;
/* rgb */ color: rgb(111, 55, 194);
/* oklch */ color: oklch(48.8% 0.203 296.5);
Tailwind
colors: {
  custom: {
    50: '#9f73d5',
    500: '#6f37c2',
    950: '#000000',
  },
}
SCSS
$custom: #6f37c2;
$custom-light: #9f73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f37c2",
  "rgb": {
    "r": 111,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 264.173,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48792,
    "c": 0.20292,
    "h": 296.5
  },
  "luminance": 0.10007
}

Semantic roles & 50–950 ramp

primary
#6F37C2
secondary
#B1CB89
accent
#DF49A3
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6F37C2

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

Preview Lab → · Contrast checker → · Palette generator →

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