#6F38BF#6F38BF

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

Color values

HEX#6F38BF
RGBrgb(111, 56, 191)
HSLhsl(264, 55%, 48%)
HSVhsv(264, 71%, 75%)
CMYKcmyk(41.9%, 70.7%, 0%, 25.1%)
CIE-LABlab(37.79, 51.91, -61.86)
CIE-LCHlch(37.79, 80.75, 310.00°)
OKLaboklab(48.67% 0.0901 -0.1768)
OKLCHoklch(48.67% 0.198 297)
XYZxyz(17.3712, 9.9691, 50.2891)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F38BF #88BF38
analogous
#3845BF #6F38BF #B238BF
triadic
#6F38BF #BF6F38 #38BF6F
tetradic
#6F38BF #BF3845 #88BF38 #38BFB2
square
#6F38BF #BF3845 #88BF38 #38BFB2
split-complementary
#6F38BF #BFB238 #45BF38
monochromatic
#381C60 #532A90 #6F38BF #9063D1 #B292DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F38BF#FFFFFF#000000##FFFFFF
##6F38BF1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#5A5A78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6f38bf;
/* rgb */ color: rgb(111, 56, 191);
/* oklch */ color: oklch(48.7% 0.198 297.0);
Tailwind
colors: {
  custom: {
    50: '#9f73d3',
    500: '#6f38bf',
    950: '#000000',
  },
}
SCSS
$custom: #6f38bf;
$custom-light: #9f73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f38bf",
  "rgb": {
    "r": 111,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 264.444,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48669,
    "c": 0.19843,
    "h": 297
  },
  "luminance": 0.09969
}

Semantic roles & 50–950 ramp

primary
#6F38BF
secondary
#AFCA89
accent
#DE4AA2
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6F38BF

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

Preview Lab → · Contrast checker → · Palette generator →

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