#6538BF#6538BF

#6538BF is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.6% C 0.198 H 292.5°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#6538BF
RGBrgb(101, 56, 191)
HSLhsl(260, 55%, 48%)
HSVhsv(260, 71%, 75%)
CMYKcmyk(47.1%, 70.7%, 0%, 25.1%)
CIE-LABlab(36.66, 50.13, -63.74)
CIE-LCHlch(36.66, 81.10, 308.18°)
OKLaboklab(47.61% 0.0757 -0.1827)
OKLCHoklch(47.61% 0.198 292.5)
XYZxyz(16.1824, 9.3561, 50.2334)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6538BF #92BF38
analogous
#384EBF #6538BF #A838BF
triadic
#6538BF #BF6538 #38BF65
tetradic
#6538BF #BF384E #92BF38 #38BFA8
square
#6538BF #BF384E #92BF38 #38BFA8
split-complementary
#6538BF #BFA838 #4EBF38
monochromatic
#331C60 #4C2A90 #6538BF #8863D1 #AC92DF

Accessibility & contrast

On white

7.31
#6538BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6538BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6538BF
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6538BF#FFFFFF#000000##FFFFFF
##6538BF1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#0054BC
Tritanopia (blue-blind)
#495B78
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6538bf;
/* rgb */ color: rgb(101, 56, 191);
/* oklch */ color: oklch(47.6% 0.198 292.5);
Tailwind
colors: {
  custom: {
    50: '#9972d3',
    500: '#6538bf',
    950: '#000000',
  },
}
SCSS
$custom: #6538bf;
$custom-light: #9972d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6538bf",
  "rgb": {
    "r": 101,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 260,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47612,
    "c": 0.19777,
    "h": 292.5
  },
  "luminance": 0.09357
}

Semantic roles & 50–950 ramp

primary
#6538BF
secondary
#B4CA89
accent
#DE4AAD
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6538BF

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

Preview Lab → · Contrast checker → · Palette generator →

#6538BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva