#6338B3#6338B3

#6338B3 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.4% C 0.184 H 294.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#6338B3
RGBrgb(99, 56, 179)
HSLhsl(261, 52%, 46%)
HSVhsv(261, 69%, 70%)
CMYKcmyk(44.7%, 68.7%, 0%, 29.8%)
CIE-LABlab(35.47, 46.50, -58.62)
CIE-LCHlch(35.47, 74.82, 308.42°)
OKLaboklab(46.41% 0.075 -0.1677)
OKLCHoklch(46.41% 0.184 294.1)
XYZxyz(14.6942, 8.7353, 43.5509)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6338B3 #88B338
analogous
#384AB3 #6338B3 #A038B3
triadic
#6338B3 #B36338 #38B363
tetradic
#6338B3 #B3384A #88B338 #38B3A0
square
#6338B3 #B3384A #88B338 #38B3A0
split-complementary
#6338B3 #B3A038 #4AB338
monochromatic
#2F1B56 #492984 #6338B3 #835CCC #A78BDB

Accessibility & contrast

On white

7.64
#6338B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6338B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6338B3
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6338B3#FFFFFF#000000##FFFFFF
##6338B31.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#4C5671
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6338b3;
/* rgb */ color: rgb(99, 56, 179);
/* oklch */ color: oklch(46.4% 0.184 294.1);
Tailwind
colors: {
  custom: {
    50: '#9672cb',
    500: '#6338b3',
    950: '#000000',
  },
}
SCSS
$custom: #6338b3;
$custom-light: #9672cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6338b3",
  "rgb": {
    "r": 99,
    "g": 56,
    "b": 179
  },
  "hsl": {
    "h": 260.976,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46409,
    "c": 0.18371,
    "h": 294.1
  },
  "luminance": 0.08736
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6338B3

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

Preview Lab → · Contrast checker → · Palette generator →

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