#62267A#62267A

#62267A is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.6% C 0.143 H 314.8°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#62267A
RGBrgb(98, 38, 122)
HSLhsl(283, 53%, 31%)
HSVhsv(283, 69%, 48%)
CMYKcmyk(19.7%, 68.9%, 0%, 52.2%)
CIE-LABlab(27.81, 41.07, -36.15)
CIE-LCHlch(27.81, 54.71, 318.65°)
OKLaboklab(39.56% 0.1008 -0.1016)
OKLCHoklch(39.56% 0.143 314.8)
XYZxyz(9.2424, 5.3883, 18.9618)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62267A #3E7A26
analogous
#38267A #62267A #7A2668
triadic
#62267A #7A6226 #267A62
tetradic
#62267A #7A3826 #3E7A26 #26687A
square
#62267A #7A3826 #3E7A26 #26687A
split-complementary
#62267A #687A26 #267A38
monochromatic
#17091D #3D174B #62267A #8735A9 #A751C9

Accessibility & contrast

On white

10.11
#62267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#62267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62267A
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62267A#FFFFFF#000000##FFFFFF
##62267A1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#234378
Tritanopia (blue-blind)
#60364C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #62267a;
/* rgb */ color: rgb(98, 38, 122);
/* oklch */ color: oklch(39.6% 0.143 314.8);
Tailwind
colors: {
  custom: {
    50: '#9265a1',
    500: '#62267a',
    950: '#000000',
  },
}
SCSS
$custom: #62267a;
$custom-light: #9265a1;
$custom-dark: #000000;
JSON
{
  "hex": "#62267a",
  "rgb": {
    "r": 98,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 282.857,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39559,
    "c": 0.14314,
    "h": 314.8
  },
  "luminance": 0.05388
}

Semantic roles & 50–950 ramp

primary
#62267A
secondary
#6AAC50
accent
#DC4C75
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D060F
muted
#7E7A7E

Preview Lab

Preview with #62267A

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

Preview Lab → · Contrast checker → · Palette generator →

#62267A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva