#6438AF#6438AF

#6438AF is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.2% C 0.179 H 295.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#6438AF
RGBrgb(100, 56, 175)
HSLhsl(262, 52%, 45%)
HSVhsv(262, 68%, 69%)
CMYKcmyk(42.9%, 68%, 0%, 31.4%)
CIE-LABlab(35.27, 45.61, -56.57)
CIE-LCHlch(35.27, 72.66, 308.88°)
OKLaboklab(46.19% 0.077 -0.1616)
OKLCHoklch(46.19% 0.179 295.5)
XYZxyz(14.4055, 8.6325, 41.4564)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6438AF #83AF38
analogous
#3847AF #6438AF #9F38AF
triadic
#6438AF #AF6438 #38AF64
tetradic
#6438AF #AF3847 #83AF38 #38AF9F
square
#6438AF #AF3847 #83AF38 #38AF9F
split-complementary
#6438AF #AF9F38 #47AF38
monochromatic
#2F1A52 #4A2981 #6438AF #835ACA #A688D9

Accessibility & contrast

On white

7.70
#6438AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6438AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6438AF#FFFFFF#000000##FFFFFF
##6438AF1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#50556F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6438af;
/* rgb */ color: rgb(100, 56, 175);
/* oklch */ color: oklch(46.2% 0.179 295.5);
Tailwind
colors: {
  custom: {
    50: '#9672c8',
    500: '#6438af',
    950: '#000000',
  },
}
SCSS
$custom: #6438af;
$custom-light: #9672c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6438af",
  "rgb": {
    "r": 100,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 262.185,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46191,
    "c": 0.17906,
    "h": 295.5
  },
  "luminance": 0.08633
}

Semantic roles & 50–950 ramp

primary
#6438AF
secondary
#AAC380
accent
#DB4DA6
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6438AF

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

Preview Lab → · Contrast checker → · Palette generator →

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