#6438AA#6438AA

#6438AA is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.8% C 0.173 H 296.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#6438AA
RGBrgb(100, 56, 170)
HSLhsl(263, 50%, 44%)
HSVhsv(263, 67%, 67%)
CMYKcmyk(41.2%, 67.1%, 0%, 33.3%)
CIE-LABlab(34.88, 44.26, -54.21)
CIE-LCHlch(34.88, 69.98, 309.23°)
OKLaboklab(45.8% 0.0777 -0.1547)
OKLCHoklch(45.8% 0.173 296.7)
XYZxyz(13.9235, 8.4397, 38.9179)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6438AA #7EAA38
analogous
#3845AA #6438AA #9D38AA
triadic
#6438AA #AA6438 #38AA64
tetradic
#6438AA #AA3845 #7EAA38 #38AA9D
square
#6438AA #AA3845 #7EAA38 #38AA9D
split-complementary
#6438AA #AA9D38 #45AA38
monochromatic
#2E1A4E #49297C #6438AA #8357C8 #A585D7

Accessibility & contrast

On white

7.81
#6438AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6438AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6438AA#FFFFFF#000000##FFFFFF
##6438AA1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#0051A8
Tritanopia (blue-blind)
#52536C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6438aa;
/* rgb */ color: rgb(100, 56, 170);
/* oklch */ color: oklch(45.8% 0.173 296.7);
Tailwind
colors: {
  custom: {
    50: '#9672c4',
    500: '#6438aa',
    950: '#000000',
  },
}
SCSS
$custom: #6438aa;
$custom-light: #9672c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6438aa",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 263.158,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45795,
    "c": 0.17313,
    "h": 296.7
  },
  "luminance": 0.0844
}

Semantic roles & 50–950 ramp

primary
#6438AA
secondary
#A7C17D
accent
#DA4EA4
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6438AA

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

Preview Lab → · Contrast checker → · Palette generator →

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