#623298#623298

#623298 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.3% C 0.160 H 301.6°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#623298
RGBrgb(98, 50, 152)
HSLhsl(268, 50%, 40%)
HSVhsv(268, 67%, 60%)
CMYKcmyk(35.5%, 67.1%, 0%, 40.4%)
CIE-LABlab(32.13, 42.26, -47.81)
CIE-LCHlch(32.13, 63.81, 311.48°)
OKLaboklab(43.34% 0.0838 -0.1359)
OKLCHoklch(43.34% 0.16 301.6)
XYZxyz(11.8438, 7.1448, 30.4548)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#623298 #689832
analogous
#323598 #623298 #953298
triadic
#623298 #986232 #329862
tetradic
#623298 #983235 #689832 #329895
square
#623298 #983235 #689832 #329895
split-complementary
#623298 #989532 #359832
monochromatic
#27143C #44236A #623298 #8045C2 #9F73D1

Accessibility & contrast

On white

8.65
#623298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #623298
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##623298#FFFFFF#000000##FFFFFF
##6232981.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#024B96
Tritanopia (blue-blind)
#574960
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #623298;
/* rgb */ color: rgb(98, 50, 152);
/* oklch */ color: oklch(43.3% 0.160 301.6);
Tailwind
colors: {
  custom: {
    50: '#936db7',
    500: '#623298',
    950: '#000000',
  },
}
SCSS
$custom: #623298;
$custom-light: #936db7;
$custom-dark: #000000;
JSON
{
  "hex": "#623298",
  "rgb": {
    "r": 98,
    "g": 50,
    "b": 152
  },
  "hsl": {
    "h": 268.235,
    "s": 50.495,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4334,
    "c": 0.15967,
    "h": 301.6
  },
  "luminance": 0.07145
}

Semantic roles & 50–950 ramp

primary
#623298
secondary
#95B96D
accent
#DA4E98
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0D0711
muted
#7E7A80

Preview Lab

Preview with #623298

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

Preview Lab → · Contrast checker → · Palette generator →

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