#6438C1#6438C1

#6438C1 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.7% C 0.200 H 291.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#6438C1
RGBrgb(100, 56, 193)
HSLhsl(259, 55%, 49%)
HSVhsv(259, 71%, 76%)
CMYKcmyk(48.2%, 71%, 0%, 24.3%)
CIE-LABlab(36.72, 50.51, -64.83)
CIE-LCHlch(36.72, 82.18, 307.92°)
OKLaboklab(47.68% 0.0739 -0.1859)
OKLCHoklch(47.68% 0.2 291.7)
XYZxyz(16.2926, 9.3873, 51.3952)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6438C1 #95C138
analogous
#3851C1 #6438C1 #A938C1
triadic
#6438C1 #C16438 #38C164
tetradic
#6438C1 #C13851 #95C138 #38C1A9
square
#6438C1 #C13851 #95C138 #38C1A9
split-complementary
#6438C1 #C1A938 #51C138
monochromatic
#331C62 #4B2A92 #6438C1 #8764D2 #AC94E0

Accessibility & contrast

On white

7.30
#6438C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6438C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6438C1#FFFFFF#000000##FFFFFF
##6438C11.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C5
Deuteranopia (green-blind)
#0053BE
Tritanopia (blue-blind)
#465B79
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6438c1;
/* rgb */ color: rgb(100, 56, 193);
/* oklch */ color: oklch(47.7% 0.200 291.7);
Tailwind
colors: {
  custom: {
    50: '#9872d5',
    500: '#6438c1',
    950: '#000000',
  },
}
SCSS
$custom: #6438c1;
$custom-light: #9872d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6438c1",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 193
  },
  "hsl": {
    "h": 259.27,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4768,
    "c": 0.20006,
    "h": 291.7
  },
  "luminance": 0.09388
}

Semantic roles & 50–950 ramp

primary
#6438C1
secondary
#B6CB8A
accent
#DE49AF
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6438C1

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

Preview Lab → · Contrast checker → · Palette generator →

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