#6E38BC#6E38BC

#6E38BC is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.3% C 0.195 H 297.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#6E38BC
RGBrgb(110, 56, 188)
HSLhsl(265, 54%, 48%)
HSVhsv(265, 70%, 74%)
CMYKcmyk(41.5%, 70.2%, 0%, 26.3%)
CIE-LABlab(37.43, 50.95, -60.68)
CIE-LCHlch(37.43, 79.23, 310.02°)
OKLaboklab(48.32% 0.0892 -0.1734)
OKLCHoklch(48.32% 0.195 297.2)
XYZxyz(16.9193, 9.7739, 48.5623)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E38BC #86BC38
analogous
#3844BC #6E38BC #B038BC
triadic
#6E38BC #BC6E38 #38BC6E
tetradic
#6E38BC #BC3844 #86BC38 #38BCB0
square
#6E38BC #BC3844 #86BC38 #38BCB0
split-complementary
#6E38BC #BCB038 #44BC38
monochromatic
#371C5E #522A8D #6E38BC #8F61D0 #B090DE

Accessibility & contrast

On white

7.11
#6E38BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6E38BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E38BC
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E38BC#FFFFFF#000000##FFFFFF
##6E38BC1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#5A5976
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6e38bc;
/* rgb */ color: rgb(110, 56, 188);
/* oklch */ color: oklch(48.3% 0.195 297.2);
Tailwind
colors: {
  custom: {
    50: '#9e73d1',
    500: '#6e38bc',
    950: '#000000',
  },
}
SCSS
$custom: #6e38bc;
$custom-light: #9e73d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e38bc",
  "rgb": {
    "r": 110,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 264.545,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48318,
    "c": 0.19498,
    "h": 297.2
  },
  "luminance": 0.09774
}

Semantic roles & 50–950 ramp

primary
#6E38BC
secondary
#AEC987
accent
#DD4AA1
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6E38BC

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

Preview Lab → · Contrast checker → · Palette generator →

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