#6438CC#6438CC

#6438CC is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.6% C 0.213 H 289.7°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#6438CC
RGBrgb(100, 56, 204)
HSLhsl(258, 59%, 51%)
HSVhsv(258, 73%, 80%)
CMYKcmyk(51%, 72.5%, 0%, 20%)
CIE-LABlab(37.66, 53.53, -69.71)
CIE-LCHlch(37.66, 87.89, 307.52°)
OKLaboklab(48.63% 0.0716 -0.2002)
OKLCHoklch(48.63% 0.213 289.7)
XYZxyz(17.5656, 9.8965, 58.0997)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6438CC #A0CC38
analogous
#3856CC #6438CC #AE38CC
triadic
#6438CC #CC6438 #38CC64
tetradic
#6438CC #CC3856 #A0CC38 #38CCAE
square
#6438CC #CC3856 #A0CC38 #38CCAE
split-complementary
#6438CC #CCAE38 #56CC38
monochromatic
#341C6E #4C299E #6438CC #8A69D8 #B099E5

Accessibility & contrast

On white

7.05
#6438CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6438CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6438CC#FFFFFF#000000##FFFFFF
##6438CC1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD0
Deuteranopia (green-blind)
#0055C9
Tritanopia (blue-blind)
#3F607F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6438cc;
/* rgb */ color: rgb(100, 56, 204);
/* oklch */ color: oklch(48.6% 0.213 289.7);
Tailwind
colors: {
  custom: {
    50: '#9a73dd',
    500: '#6438cc',
    950: '#000000',
  },
}
SCSS
$custom: #6438cc;
$custom-light: #9a73dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6438cc",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 204
  },
  "hsl": {
    "h": 257.838,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48632,
    "c": 0.21264,
    "h": 289.7
  },
  "luminance": 0.09897
}

Semantic roles & 50–950 ramp

primary
#6438CC
secondary
#BDD18F
accent
#E245B4
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6438CC

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

Preview Lab → · Contrast checker → · Palette generator →

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