#62257D#62257D

#62257D is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.6% C 0.148 H 313.6°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#62257D
RGBrgb(98, 37, 125)
HSLhsl(282, 54%, 32%)
HSVhsv(282, 70%, 49%)
CMYKcmyk(21.6%, 70.4%, 0%, 51%)
CIE-LABlab(27.85, 42.22, -37.99)
CIE-LCHlch(27.85, 56.80, 318.02°)
OKLaboklab(39.65% 0.1018 -0.107)
OKLCHoklch(39.65% 0.148 313.6)
XYZxyz(9.3996, 5.4008, 19.9454)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62257D #407D25
analogous
#36257D #62257D #7D256C
triadic
#62257D #7D6225 #257D62
tetradic
#62257D #7D3625 #407D25 #256C7D
square
#62257D #7D3625 #407D25 #256C7D
split-complementary
#62257D #6C7D25 #257D36
monochromatic
#18091F #3D174E #62257D #8733AC #A651CB

Accessibility & contrast

On white

10.10
#62257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#62257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62257D
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62257D#FFFFFF#000000##FFFFFF
##62257D1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#1F437B
Tritanopia (blue-blind)
#5F374E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #62257d;
/* rgb */ color: rgb(98, 37, 125);
/* oklch */ color: oklch(39.6% 0.148 313.6);
Tailwind
colors: {
  custom: {
    50: '#9265a3',
    500: '#62257d',
    950: '#000000',
  },
}
SCSS
$custom: #62257d;
$custom-light: #9265a3;
$custom-dark: #000000;
JSON
{
  "hex": "#62257d",
  "rgb": {
    "r": 98,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 281.591,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.39648,
    "c": 0.1477,
    "h": 313.6
  },
  "luminance": 0.054
}

Semantic roles & 50–950 ramp

primary
#62257D
secondary
#6CAF4F
accent
#DE4A77
background
#F9F6FA
surface
#F1EBF4
border
#CBC6CE
text
#0D060F
muted
#7E7A7F

Preview Lab

Preview with #62257D

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

Preview Lab → · Contrast checker → · Palette generator →

#62257D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva