#6F38AE#6F38AE

#6F38AE is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.3% C 0.179 H 301.1°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#6F38AE
RGBrgb(111, 56, 174)
HSLhsl(268, 51%, 45%)
HSVhsv(268, 68%, 68%)
CMYKcmyk(36.2%, 67.8%, 0%, 31.8%)
CIE-LABlab(36.49, 47.56, -53.93)
CIE-LCHlch(36.49, 71.91, 311.41°)
OKLaboklab(47.33% 0.0928 -0.1535)
OKLCHoklch(47.33% 0.179 301.1)
XYZxyz(15.6079, 9.2638, 41.0020)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F38AE #77AE38
analogous
#383CAE #6F38AE #AA38AE
triadic
#6F38AE #AE6F38 #38AE6F
tetradic
#6F38AE #AE383C #77AE38 #38AEAA
square
#6F38AE #AE383C #77AE38 #38AEAA
split-complementary
#6F38AE #AEAA38 #3CAE38
monochromatic
#341A51 #512980 #6F38AE #8E59CA #AD88D9

Accessibility & contrast

On white

7.36
#6F38AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6F38AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F38AE
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F38AE#FFFFFF#000000##FFFFFF
##6F38AE1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#62536E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6f38ae;
/* rgb */ color: rgb(111, 56, 174);
/* oklch */ color: oklch(47.3% 0.179 301.1);
Tailwind
colors: {
  custom: {
    50: '#9d72c7',
    500: '#6f38ae',
    950: '#000000',
  },
}
SCSS
$custom: #6f38ae;
$custom-light: #9d72c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f38ae",
  "rgb": {
    "r": 111,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 267.966,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47334,
    "c": 0.17935,
    "h": 301.1
  },
  "luminance": 0.09264
}

Semantic roles & 50–950 ramp

primary
#6F38AE
secondary
#A3C37F
accent
#DB4D99
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F38AE

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

Preview Lab → · Contrast checker → · Palette generator →

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