#6D39C0#6D39C0

#6D39C0 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.7% C 0.198 H 295.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#6D39C0
RGBrgb(109, 57, 192)
HSLhsl(263, 54%, 49%)
HSVhsv(263, 70%, 75%)
CMYKcmyk(43.2%, 70.3%, 0%, 24.7%)
CIE-LABlab(37.81, 51.31, -62.42)
CIE-LCHlch(37.81, 80.80, 309.42°)
OKLaboklab(48.66% 0.0861 -0.1785)
OKLCHoklch(48.66% 0.198 295.7)
XYZxyz(17.2817, 9.9828, 50.8753)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D39C0 #8CC039
analogous
#3949C0 #6D39C0 #B139C0
triadic
#6D39C0 #C06D39 #39C06D
tetradic
#6D39C0 #C03949 #8CC039 #39C0B1
square
#6D39C0 #C03949 #8CC039 #39C0B1
split-complementary
#6D39C0 #C0B139 #49C039
monochromatic
#371D62 #522B91 #6D39C0 #8F65D1 #B194DF

Accessibility & contrast

On white

7.01
#6D39C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D39C0
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D39C0#FFFFFF#000000##FFFFFF
##6D39C01.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC4
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#575B78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6d39c0;
/* rgb */ color: rgb(109, 57, 192);
/* oklch */ color: oklch(48.7% 0.198 295.7);
Tailwind
colors: {
  custom: {
    50: '#9e74d4',
    500: '#6d39c0',
    950: '#000000',
  },
}
SCSS
$custom: #6d39c0;
$custom-light: #9e74d4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d39c0",
  "rgb": {
    "r": 109,
    "g": 57,
    "b": 192
  },
  "hsl": {
    "h": 263.111,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4866,
    "c": 0.19819,
    "h": 295.7
  },
  "luminance": 0.09983
}

Semantic roles & 50–950 ramp

primary
#6D39C0
secondary
#B2CB8A
accent
#DE4AA5
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6D39C0

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

Preview Lab → · Contrast checker → · Palette generator →

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