#6438C3#6438C3

#6438C3 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 47.9% C 0.202 H 291.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#6438C3
RGBrgb(100, 56, 195)
HSLhsl(259, 55%, 49%)
HSVhsv(259, 71%, 76%)
CMYKcmyk(48.7%, 71.3%, 0%, 23.5%)
CIE-LABlab(36.89, 51.06, -65.72)
CIE-LCHlch(36.89, 83.23, 307.84°)
OKLaboklab(47.85% 0.0735 -0.1885)
OKLCHoklch(47.85% 0.202 291.3)
XYZxyz(16.5172, 9.4772, 52.5782)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6438C3 #97C338
analogous
#3852C3 #6438C3 #AA38C3
triadic
#6438C3 #C36438 #38C364
tetradic
#6438C3 #C33852 #97C338 #38C3AA
square
#6438C3 #C33852 #97C338 #38C3AA
split-complementary
#6438C3 #C3AA38 #52C338
monochromatic
#331D64 #4C2A93 #6438C3 #8865D3 #AD95E1

Accessibility & contrast

On white

7.25
#6438C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6438C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6438C3#FFFFFF#000000##FFFFFF
##6438C31.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C7
Deuteranopia (green-blind)
#0054C0
Tritanopia (blue-blind)
#455C7A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6438c3;
/* rgb */ color: rgb(100, 56, 195);
/* oklch */ color: oklch(47.9% 0.202 291.3);
Tailwind
colors: {
  custom: {
    50: '#9972d6',
    500: '#6438c3',
    950: '#000000',
  },
}
SCSS
$custom: #6438c3;
$custom-light: #9972d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6438c3",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 258.993,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.47851,
    "c": 0.20236,
    "h": 291.3
  },
  "luminance": 0.09478
}

Semantic roles & 50–950 ramp

primary
#6438C3
secondary
#B7CC8B
accent
#DF49AF
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6438C3

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

Preview Lab → · Contrast checker → · Palette generator →

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