#62335E#62335E

#62335E is a dark, moderate purple. Relative luminance 0.058; OKLCH L 39.8% C 0.091 H 330.3°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#62335E
RGBrgb(98, 51, 94)
HSLhsl(305, 32%, 29%)
HSVhsv(305, 48%, 38%)
CMYKcmyk(0%, 48%, 4.1%, 61.6%)
CIE-LABlab(28.83, 28.06, -16.60)
CIE-LCHlch(28.83, 32.60, 329.39°)
OKLaboklab(39.79% 0.0792 -0.0452)
OKLCHoklch(39.79% 0.091 330.3)
XYZxyz(8.2411, 5.7729, 11.2677)
Luminance0.0577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62335E #336237
analogous
#4F3362 #62335E #623347
triadic
#62335E #5E6233 #335E62
tetradic
#62335E #624F33 #336237 #334762
square
#62335E #624F33 #336237 #334762
split-complementary
#62335E #476233 #33624F
monochromatic
#140A13 #3A1E37 #62335E #8A4885 #AD62A7

Accessibility & contrast

On white

9.75
#62335E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#62335E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62335E
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62335E#FFFFFF#000000##FFFFFF
##62335E1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31405F
Deuteranopia (green-blind)
#3E465D
Tritanopia (blue-blind)
#653744
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #62335e;
/* rgb */ color: rgb(98, 51, 94);
/* oklch */ color: oklch(39.8% 0.091 330.3);
Tailwind
colors: {
  custom: {
    50: '#906c8b',
    500: '#62335e',
    950: '#000000',
  },
}
SCSS
$custom: #62335e;
$custom-light: #906c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#62335e",
  "rgb": {
    "r": 98,
    "g": 51,
    "b": 94
  },
  "hsl": {
    "h": 305.106,
    "s": 31.544,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39792,
    "c": 0.09122,
    "h": 330.3
  },
  "luminance": 0.05772
}

Semantic roles & 50–950 ramp

primary
#62335E
secondary
#5E9362
accent
#C86960
background
#F8F6F8
surface
#F0EBF0
border
#CBC6CB
text
#0D070C
muted
#7D7A7D

Preview Lab

Preview with #62335E

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

Preview Lab → · Contrast checker → · Palette generator →

#62335E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva