#6438AD#6438AD

#6438AD is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.0% C 0.177 H 296.0°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#6438AD
RGBrgb(100, 56, 173)
HSLhsl(263, 51%, 45%)
HSVhsv(263, 68%, 68%)
CMYKcmyk(42.2%, 67.6%, 0%, 32.2%)
CIE-LABlab(35.11, 45.06, -55.63)
CIE-LCHlch(35.11, 71.59, 309.01°)
OKLaboklab(46.03% 0.0773 -0.1589)
OKLCHoklch(46.03% 0.177 296)
XYZxyz(14.2105, 8.5545, 40.4295)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6438AD #81AD38
analogous
#3847AD #6438AD #9F38AD
triadic
#6438AD #AD6438 #38AD64
tetradic
#6438AD #AD3847 #81AD38 #38AD9F
square
#6438AD #AD3847 #81AD38 #38AD9F
split-complementary
#6438AD #AD9F38 #47AD38
monochromatic
#2F1A51 #49297F #6438AD #8359C9 #A687D8

Accessibility & contrast

On white

7.75
#6438AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6438AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6438AD
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6438AD#FFFFFF#000000##FFFFFF
##6438AD1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B1
Deuteranopia (green-blind)
#0051AB
Tritanopia (blue-blind)
#51546E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6438ad;
/* rgb */ color: rgb(100, 56, 173);
/* oklch */ color: oklch(46.0% 0.177 296.0);
Tailwind
colors: {
  custom: {
    50: '#9672c6',
    500: '#6438ad',
    950: '#000000',
  },
}
SCSS
$custom: #6438ad;
$custom-light: #9672c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6438ad",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 262.564,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46032,
    "c": 0.1767,
    "h": 296
  },
  "luminance": 0.08555
}

Semantic roles & 50–950 ramp

primary
#6438AD
secondary
#A9C27F
accent
#DB4DA5
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6438AD

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

Preview Lab → · Contrast checker → · Palette generator →

#6438AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva