#623196#623196

#623196 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.0% C 0.159 H 302.4°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#623196
RGBrgb(98, 49, 150)
HSLhsl(269, 51%, 39%)
HSVhsv(269, 67%, 59%)
CMYKcmyk(34.7%, 67.3%, 0%, 41.2%)
CIE-LABlab(31.80, 42.27, -47.13)
CIE-LCHlch(31.80, 63.31, 311.89°)
OKLaboklab(43.05% 0.0852 -0.134)
OKLCHoklch(43.05% 0.159 302.4)
XYZxyz(11.6390, 6.9953, 29.5853)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623196 #659631
analogous
#313396 #623196 #953196
triadic
#623196 #966231 #319662
tetradic
#623196 #963133 #659631 #319695
square
#623196 #963133 #659631 #319695
split-complementary
#623196 #969531 #339631
monochromatic
#26133A #442268 #623196 #8043C1 #9F71D1

Accessibility & contrast

On white

8.75
#623196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#623196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #623196
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623196#FFFFFF#000000##FFFFFF
##6231961.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#064A94
Tritanopia (blue-blind)
#58485F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #623196;
/* rgb */ color: rgb(98, 49, 150);
/* oklch */ color: oklch(43.0% 0.159 302.4);
Tailwind
colors: {
  custom: {
    50: '#936cb6',
    500: '#623196',
    950: '#000000',
  },
}
SCSS
$custom: #623196;
$custom-light: #936cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#623196",
  "rgb": {
    "r": 98,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 269.109,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4305,
    "c": 0.15873,
    "h": 302.4
  },
  "luminance": 0.06995
}

Semantic roles & 50–950 ramp

primary
#623196
secondary
#93B86A
accent
#DA4E96
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #623196

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

Preview Lab → · Contrast checker → · Palette generator →

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