#6F38BE#6F38BE

#6F38BE is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.6% C 0.197 H 297.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#6F38BE
RGBrgb(111, 56, 190)
HSLhsl(265, 54%, 48%)
HSVhsv(265, 71%, 75%)
CMYKcmyk(41.6%, 70.5%, 0%, 25.5%)
CIE-LABlab(37.71, 51.65, -61.40)
CIE-LCHlch(37.71, 80.24, 310.07°)
OKLaboklab(48.59% 0.0902 -0.1755)
OKLCHoklch(48.59% 0.197 297.2)
XYZxyz(17.2616, 9.9252, 49.7115)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F38BE #87BE38
analogous
#3844BE #6F38BE #B238BE
triadic
#6F38BE #BE6F38 #38BE6F
tetradic
#6F38BE #BE3844 #87BE38 #38BEB2
square
#6F38BE #BE3844 #87BE38 #38BEB2
split-complementary
#6F38BE #BEB238 #44BE38
monochromatic
#381C5F #532A8F #6F38BE #9062D1 #B192DF

Accessibility & contrast

On white

7.03
#6F38BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6F38BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F38BE
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F38BE#FFFFFF#000000##FFFFFF
##6F38BE1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#5B5977
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6f38be;
/* rgb */ color: rgb(111, 56, 190);
/* oklch */ color: oklch(48.6% 0.197 297.2);
Tailwind
colors: {
  custom: {
    50: '#9f73d3',
    500: '#6f38be',
    950: '#000000',
  },
}
SCSS
$custom: #6f38be;
$custom-light: #9f73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f38be",
  "rgb": {
    "r": 111,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 264.627,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48589,
    "c": 0.19732,
    "h": 297.2
  },
  "luminance": 0.09926
}

Semantic roles & 50–950 ramp

primary
#6F38BE
secondary
#AFCA88
accent
#DE4AA1
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6F38BE

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

Preview Lab → · Contrast checker → · Palette generator →

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