#6438AC#6438AC

#6438AC is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.0% C 0.176 H 296.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#6438AC
RGBrgb(100, 56, 172)
HSLhsl(263, 51%, 45%)
HSVhsv(263, 67%, 67%)
CMYKcmyk(41.9%, 67.4%, 0%, 32.5%)
CIE-LABlab(35.03, 44.80, -55.15)
CIE-LCHlch(35.03, 71.05, 309.08°)
OKLaboklab(45.95% 0.0775 -0.1575)
OKLCHoklch(45.95% 0.176 296.2)
XYZxyz(14.1141, 8.5159, 39.9218)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6438AC #80AC38
analogous
#3846AC #6438AC #9E38AC
triadic
#6438AC #AC6438 #38AC64
tetradic
#6438AC #AC3846 #80AC38 #38AC9E
square
#6438AC #AC3846 #80AC38 #38AC9E
split-complementary
#6438AC #AC9E38 #46AC38
monochromatic
#2E1A50 #49297E #6438AC #8358C9 #A587D8

Accessibility & contrast

On white

7.77
#6438AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6438AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6438AC
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6438AC#FFFFFF#000000##FFFFFF
##6438AC1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#51546D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6438ac;
/* rgb */ color: rgb(100, 56, 172);
/* oklch */ color: oklch(46.0% 0.176 296.2);
Tailwind
colors: {
  custom: {
    50: '#9672c6',
    500: '#6438ac',
    950: '#000000',
  },
}
SCSS
$custom: #6438ac;
$custom-light: #9672c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6438ac",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 262.759,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45952,
    "c": 0.17551,
    "h": 296.2
  },
  "luminance": 0.08516
}

Semantic roles & 50–950 ramp

primary
#6438AC
secondary
#A8C27E
accent
#DA4DA5
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6438AC

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

Preview Lab → · Contrast checker → · Palette generator →

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