#6326B1#6326B1

#6326B1 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.1% C 0.201 H 297.1°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#6326B1
RGBrgb(99, 38, 177)
HSLhsl(266, 65%, 42%)
HSVhsv(266, 79%, 69%)
CMYKcmyk(44.1%, 78.5%, 0%, 30.6%)
CIE-LABlab(32.29, 54.49, -62.63)
CIE-LCHlch(32.29, 83.01, 311.02°)
OKLaboklab(44.11% 0.0917 -0.1794)
OKLCHoklch(44.11% 0.201 297.1)
XYZxyz(13.7724, 7.2129, 42.2531)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6326B1 #74B126
analogous
#262FB1 #6326B1 #A926B1
triadic
#6326B1 #B16326 #26B163
tetradic
#6326B1 #B1262F #74B126 #26B1A9
square
#6326B1 #B1262F #74B126 #26B1A9
split-complementary
#6326B1 #B1A926 #2FB126
monochromatic
#2B104C #471B7F #6326B1 #813FD6 #A271E0

Accessibility & contrast

On white

8.60
#6326B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6326B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6326B1
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6326B1#FFFFFF#000000##FFFFFF
##6326B11.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#004AAE
Tritanopia (blue-blind)
#4E4C6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6326b1;
/* rgb */ color: rgb(99, 38, 177);
/* oklch */ color: oklch(44.1% 0.201 297.1);
Tailwind
colors: {
  custom: {
    50: '#9768c9',
    500: '#6326b1',
    950: '#000000',
  },
}
SCSS
$custom: #6326b1;
$custom-light: #9768c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6326b1",
  "rgb": {
    "r": 99,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 266.331,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44108,
    "c": 0.20146,
    "h": 297.1
  },
  "luminance": 0.07213
}

Semantic roles & 50–950 ramp

primary
#6326B1
secondary
#9FC76B
accent
#E8409E
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6326B1

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

Preview Lab → · Contrast checker → · Palette generator →

#6326B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva