#623399#623399

#623399 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 43.6% C 0.159 H 301.2°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#623399
RGBrgb(98, 51, 153)
HSLhsl(268, 50%, 40%)
HSVhsv(268, 67%, 60%)
CMYKcmyk(35.9%, 66.7%, 0%, 40%)
CIE-LABlab(32.40, 41.99, -47.98)
CIE-LCHlch(32.40, 63.76, 311.19°)
OKLaboklab(43.56% 0.0825 -0.1365)
OKLCHoklch(43.56% 0.159 301.2)
XYZxyz(11.9692, 7.2642, 30.9024)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623399 #6A9933
analogous
#333799 #623399 #953399
triadic
#623399 #996233 #339962
tetradic
#623399 #993337 #6A9933 #339995
square
#623399 #993337 #6A9933 #339995
split-complementary
#623399 #999533 #379933
monochromatic
#27143D #45246B #623399 #8047C2 #A075D1

Accessibility & contrast

On white

8.56
#623399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#623399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623399
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623399#FFFFFF#000000##FFFFFF
##6233991.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#024C97
Tritanopia (blue-blind)
#564A61
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #623399;
/* rgb */ color: rgb(98, 51, 153);
/* oklch */ color: oklch(43.6% 0.159 301.2);
Tailwind
colors: {
  custom: {
    50: '#936eb8',
    500: '#623399',
    950: '#000000',
  },
}
SCSS
$custom: #623399;
$custom-light: #936eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#623399",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 153
  },
  "hsl": {
    "h": 267.647,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.43555,
    "c": 0.15947,
    "h": 301.2
  },
  "luminance": 0.07264
}

Semantic roles & 50–950 ramp

primary
#623399
secondary
#97B96E
accent
#DA4E99
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #623399

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

Preview Lab → · Contrast checker → · Palette generator →

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