#623396#623396

#623396 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.3% C 0.156 H 302.1°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#623396
RGBrgb(98, 51, 150)
HSLhsl(268, 49%, 39%)
HSVhsv(268, 66%, 59%)
CMYKcmyk(34.7%, 66%, 0%, 41.2%)
CIE-LABlab(32.18, 41.22, -46.51)
CIE-LCHlch(32.18, 62.14, 311.55°)
OKLaboklab(43.33% 0.0828 -0.1321)
OKLCHoklch(43.33% 0.156 302.1)
XYZxyz(11.7246, 7.1663, 29.6138)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623396 #679633
analogous
#333596 #623396 #943396
triadic
#623396 #966233 #339662
tetradic
#623396 #963335 #679633 #339694
square
#623396 #963335 #679633 #339694
split-complementary
#623396 #969433 #359633
monochromatic
#26143B #442368 #623396 #8046C0 #9F74D0

Accessibility & contrast

On white

8.63
#623396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#623396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623396
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623396#FFFFFF#000000##FFFFFF
##6233961.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#0C4B94
Tritanopia (blue-blind)
#574960
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #623396;
/* rgb */ color: rgb(98, 51, 150);
/* oklch */ color: oklch(43.3% 0.156 302.1);
Tailwind
colors: {
  custom: {
    50: '#936eb5',
    500: '#623396',
    950: '#000000',
  },
}
SCSS
$custom: #623396;
$custom-light: #936eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#623396",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 150
  },
  "hsl": {
    "h": 268.485,
    "s": 49.254,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43328,
    "c": 0.15593,
    "h": 302.1
  },
  "luminance": 0.07166
}

Semantic roles & 50–950 ramp

primary
#623396
secondary
#94B86D
accent
#D94F97
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #623396

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

Preview Lab → · Contrast checker → · Palette generator →

#623396 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva