#632098#632098

#632098 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.182 H 304.7°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#632098
RGBrgb(99, 32, 152)
HSLhsl(274, 65%, 36%)
HSVhsv(274, 79%, 60%)
CMYKcmyk(34.9%, 78.9%, 0%, 40.4%)
CIE-LABlab(29.29, 50.83, -52.41)
CIE-LCHlch(29.29, 73.02, 314.12°)
OKLaboklab(41.35% 0.1036 -0.1493)
OKLCHoklch(41.35% 0.182 304.7)
XYZxyz(11.3283, 5.9527, 30.2519)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#632098 #559820
analogous
#272098 #632098 #982091
triadic
#632098 #986320 #209863
tetradic
#632098 #982720 #559820 #209198
square
#632098 #982720 #559820 #209198
split-complementary
#632098 #919820 #209827
monochromatic
#210B33 #421565 #632098 #842BCB #A157DC

Accessibility & contrast

On white

9.59
#632098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#632098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #632098
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##632098#FFFFFF#000000##FFFFFF
##6320981.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#004596
Tritanopia (blue-blind)
#593F5C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #632098;
/* rgb */ color: rgb(99, 32, 152);
/* oklch */ color: oklch(41.4% 0.182 304.7);
Tailwind
colors: {
  custom: {
    50: '#9564b7',
    500: '#632098',
    950: '#000000',
  },
}
SCSS
$custom: #632098;
$custom-light: #9564b7;
$custom-dark: #000000;
JSON
{
  "hex": "#632098",
  "rgb": {
    "r": 99,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 273.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41351,
    "c": 0.18175,
    "h": 304.7
  },
  "luminance": 0.05953
}

Semantic roles & 50–950 ramp

primary
#632098
secondary
#84BF54
accent
#E8408A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #632098

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

Preview Lab → · Contrast checker → · Palette generator →

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