#623398#623398

#623398 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.5% C 0.158 H 301.5°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#623398
RGBrgb(98, 51, 152)
HSLhsl(268, 50%, 40%)
HSVhsv(268, 66%, 60%)
CMYKcmyk(35.5%, 66.4%, 0%, 40.4%)
CIE-LABlab(32.33, 41.73, -47.49)
CIE-LCHlch(32.33, 63.22, 311.31°)
OKLaboklab(43.48% 0.0826 -0.135)
OKLCHoklch(43.48% 0.158 301.5)
XYZxyz(11.8870, 7.2313, 30.4692)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623398 #699833
analogous
#333698 #623398 #953398
triadic
#623398 #986233 #339862
tetradic
#623398 #983336 #699833 #339895
square
#623398 #983336 #699833 #339895
split-complementary
#623398 #989533 #369833
monochromatic
#27143C #44246A #623398 #8047C1 #A075D1

Accessibility & contrast

On white

8.58
#623398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #623398
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623398#FFFFFF#000000##FFFFFF
##6233981.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#064C96
Tritanopia (blue-blind)
#574A61
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #623398;
/* rgb */ color: rgb(98, 51, 152);
/* oklch */ color: oklch(43.5% 0.158 301.5);
Tailwind
colors: {
  custom: {
    50: '#936eb7',
    500: '#623398',
    950: '#000000',
  },
}
SCSS
$custom: #623398;
$custom-light: #936eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#623398",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 152
  },
  "hsl": {
    "h": 267.921,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43479,
    "c": 0.15829,
    "h": 301.5
  },
  "luminance": 0.07231
}

Semantic roles & 50–950 ramp

primary
#623398
secondary
#96B96E
accent
#D94F99
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #623398

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

Preview Lab → · Contrast checker → · Palette generator →

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