#6538AF#6538AF

#6538AF is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.3% C 0.179 H 296.0°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#6538AF
RGBrgb(101, 56, 175)
HSLhsl(263, 52%, 45%)
HSVhsv(263, 68%, 69%)
CMYKcmyk(42.3%, 68%, 0%, 31.4%)
CIE-LABlab(35.38, 45.80, -56.38)
CIE-LCHlch(35.38, 72.64, 309.09°)
OKLaboklab(46.3% 0.0785 -0.161)
OKLCHoklch(46.3% 0.179 296)
XYZxyz(14.5168, 8.6899, 41.4616)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6538AF #82AF38
analogous
#3847AF #6538AF #A038AF
triadic
#6538AF #AF6538 #38AF65
tetradic
#6538AF #AF3847 #82AF38 #38AFA0
square
#6538AF #AF3847 #82AF38 #38AFA0
split-complementary
#6538AF #AFA038 #47AF38
monochromatic
#2F1A52 #4A2981 #6538AF #845ACA #A788D9

Accessibility & contrast

On white

7.67
#6538AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6538AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6538AF
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6538AF#FFFFFF#000000##FFFFFF
##6538AF1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#52556F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6538af;
/* rgb */ color: rgb(101, 56, 175);
/* oklch */ color: oklch(46.3% 0.179 296.0);
Tailwind
colors: {
  custom: {
    50: '#9772c8',
    500: '#6538af',
    950: '#000000',
  },
}
SCSS
$custom: #6538af;
$custom-light: #9772c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6538af",
  "rgb": {
    "r": 101,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 262.689,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46298,
    "c": 0.17915,
    "h": 296
  },
  "luminance": 0.0869
}

Semantic roles & 50–950 ramp

primary
#6538AF
secondary
#AAC380
accent
#DB4DA5
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6538AF

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

Preview Lab → · Contrast checker → · Palette generator →

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