#632898#632898

#632898 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.173 H 303.8°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#632898
RGBrgb(99, 40, 152)
HSLhsl(272, 58%, 38%)
HSVhsv(272, 74%, 60%)
CMYKcmyk(34.9%, 73.7%, 0%, 40.4%)
CIE-LABlab(30.49, 47.42, -50.47)
CIE-LCHlch(30.49, 69.25, 313.22°)
OKLaboklab(42.19% 0.0961 -0.1437)
OKLCHoklch(42.19% 0.173 303.8)
XYZxyz(11.5706, 6.4373, 30.3326)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#632898 #5D9828
analogous
#2B2898 #632898 #982895
triadic
#632898 #986328 #289863
tetradic
#632898 #982B28 #5D9828 #289598
square
#632898 #982B28 #5D9828 #289598
split-complementary
#632898 #959828 #28982B
monochromatic
#240F37 #431B68 #632898 #8335C8 #A064D6

Accessibility & contrast

On white

9.18
#632898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#632898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #632898
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##632898#FFFFFF#000000##FFFFFF
##6328981.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#004896
Tritanopia (blue-blind)
#59435D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #632898;
/* rgb */ color: rgb(99, 40, 152);
/* oklch */ color: oklch(42.2% 0.173 303.8);
Tailwind
colors: {
  custom: {
    50: '#9468b7',
    500: '#632898',
    950: '#000000',
  },
}
SCSS
$custom: #632898;
$custom-light: #9468b7;
$custom-dark: #000000;
JSON
{
  "hex": "#632898",
  "rgb": {
    "r": 99,
    "g": 40,
    "b": 152
  },
  "hsl": {
    "h": 271.607,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42194,
    "c": 0.17284,
    "h": 303.8
  },
  "luminance": 0.06437
}

Semantic roles & 50–950 ramp

primary
#632898
secondary
#8BBC60
accent
#E24690
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #632898

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

Preview Lab → · Contrast checker → · Palette generator →

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