#6F38C1#6F38C1

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

Color values

HEX#6F38C1
RGBrgb(111, 56, 193)
HSLhsl(264, 55%, 49%)
HSVhsv(264, 71%, 76%)
CMYKcmyk(42.5%, 71%, 0%, 24.3%)
CIE-LABlab(37.95, 52.43, -62.77)
CIE-LCHlch(37.95, 81.79, 309.87°)
OKLaboklab(48.83% 0.0897 -0.1795)
OKLCHoklch(48.83% 0.201 296.5)
XYZxyz(17.5928, 10.0577, 51.4562)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F38C1 #8AC138
analogous
#3845C1 #6F38C1 #B438C1
triadic
#6F38C1 #C16F38 #38C16F
tetradic
#6F38C1 #C13845 #8AC138 #38C1B4
square
#6F38C1 #C13845 #8AC138 #38C1B4
split-complementary
#6F38C1 #C1B438 #45C138
monochromatic
#381C62 #542A92 #6F38C1 #9064D2 #B294E0

Accessibility & contrast

On white

6.97
#6F38C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6F38C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F38C1
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F38C1#FFFFFF#000000##FFFFFF
##6F38C11.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC5
Deuteranopia (green-blind)
#0057BE
Tritanopia (blue-blind)
#5A5A79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6f38c1;
/* rgb */ color: rgb(111, 56, 193);
/* oklch */ color: oklch(48.8% 0.201 296.5);
Tailwind
colors: {
  custom: {
    50: '#9f73d5',
    500: '#6f38c1',
    950: '#000000',
  },
}
SCSS
$custom: #6f38c1;
$custom-light: #9f73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f38c1",
  "rgb": {
    "r": 111,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 264.088,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48832,
    "c": 0.20066,
    "h": 296.5
  },
  "luminance": 0.10058
}

Semantic roles & 50–950 ramp

primary
#6F38C1
secondary
#B1CB8A
accent
#DE49A3
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6F38C1

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

Preview Lab → · Contrast checker → · Palette generator →

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