#6438B3#6438B3

#6438B3 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.5% C 0.184 H 294.6°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#6438B3
RGBrgb(100, 56, 179)
HSLhsl(261, 52%, 46%)
HSVhsv(261, 69%, 70%)
CMYKcmyk(44.1%, 68.7%, 0%, 29.8%)
CIE-LABlab(35.58, 46.69, -58.43)
CIE-LCHlch(35.58, 74.80, 308.63°)
OKLaboklab(46.51% 0.0764 -0.1671)
OKLCHoklch(46.51% 0.184 294.6)
XYZxyz(14.8042, 8.7920, 43.5561)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6438B3 #87B338
analogous
#384AB3 #6438B3 #A138B3
triadic
#6438B3 #B36438 #38B364
tetradic
#6438B3 #B3384A #87B338 #38B3A1
square
#6438B3 #B3384A #87B338 #38B3A1
split-complementary
#6438B3 #B3A138 #4AB338
monochromatic
#301B56 #4A2984 #6438B3 #845CCC #A78BDB

Accessibility & contrast

On white

7.61
#6438B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6438B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6438B3#FFFFFF#000000##FFFFFF
##6438B31.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#4E5671
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6438b3;
/* rgb */ color: rgb(100, 56, 179);
/* oklch */ color: oklch(46.5% 0.184 294.6);
Tailwind
colors: {
  custom: {
    50: '#9772cb',
    500: '#6438b3',
    950: '#000000',
  },
}
SCSS
$custom: #6438b3;
$custom-light: #9772cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6438b3",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 179
  },
  "hsl": {
    "h": 261.463,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46514,
    "c": 0.18377,
    "h": 294.6
  },
  "luminance": 0.08792
}

Semantic roles & 50–950 ramp

primary
#6438B3
secondary
#ADC582
accent
#DC4CA8
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6438B3

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

Preview Lab → · Contrast checker → · Palette generator →

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