#6323A4#6323A4

#6323A4 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.7% C 0.191 H 300.8°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#6323A4
RGBrgb(99, 35, 164)
HSLhsl(270, 65%, 39%)
HSVhsv(270, 79%, 64%)
CMYKcmyk(39.6%, 78.7%, 0%, 35.7%)
CIE-LABlab(30.72, 52.51, -57.38)
CIE-LCHlch(30.72, 77.78, 312.46°)
OKLaboklab(42.67% 0.0979 -0.1639)
OKLCHoklch(42.67% 0.191 300.8)
XYZxyz(12.4458, 6.5349, 35.7204)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6323A4 #64A423
analogous
#2324A4 #6323A4 #A423A4
triadic
#6323A4 #A46323 #23A463
tetradic
#6323A4 #A42324 #64A423 #23A4A4
square
#6323A4 #A42324 #64A423 #23A4A4
split-complementary
#6323A4 #A4A423 #24A423
monochromatic
#260D3F #451872 #6323A4 #8131D3 #A064DE

Accessibility & contrast

On white

9.10
#6323A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6323A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6323A4
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6323A4#FFFFFF#000000##FFFFFF
##6323A41.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A8
Deuteranopia (green-blind)
#0047A2
Tritanopia (blue-blind)
#544663
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6323a4;
/* rgb */ color: rgb(99, 35, 164);
/* oklch */ color: oklch(42.7% 0.191 300.8);
Tailwind
colors: {
  custom: {
    50: '#9666c0',
    500: '#6323a4',
    950: '#000000',
  },
}
SCSS
$custom: #6323a4;
$custom-light: #9666c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6323a4",
  "rgb": {
    "r": 99,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 269.767,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42667,
    "c": 0.19092,
    "h": 300.8
  },
  "luminance": 0.06535
}

Semantic roles & 50–950 ramp

primary
#6323A4
secondary
#92C360
accent
#E84095
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6323A4

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

Preview Lab → · Contrast checker → · Palette generator →

#6323A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva