#62268F#62268F

#62268F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.165 H 306.5°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#62268F
RGBrgb(98, 38, 143)
HSLhsl(274, 58%, 35%)
HSVhsv(274, 73%, 56%)
CMYKcmyk(31.5%, 73.4%, 0%, 43.9%)
CIE-LABlab(29.33, 45.95, -46.83)
CIE-LCHlch(29.33, 65.61, 314.46°)
OKLaboklab(41.12% 0.0984 -0.133)
OKLCHoklch(41.12% 0.165 306.5)
XYZxyz(10.6870, 5.9662, 26.5699)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62268F #538F26
analogous
#2E268F #62268F #8F2687
triadic
#62268F #8F6226 #268F62
tetradic
#62268F #8F2E26 #538F26 #26878F
square
#62268F #8F2E26 #538F26 #26878F
split-complementary
#62268F #878F26 #268F2E
monochromatic
#200C2E #41195F #62268F #8333BF #A05CD4

Accessibility & contrast

On white

9.58
#62268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#62268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62268F
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62268F#FFFFFF#000000##FFFFFF
##62268F1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#5A3F58
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #62268f;
/* rgb */ color: rgb(98, 38, 143);
/* oklch */ color: oklch(41.1% 0.165 306.5);
Tailwind
colors: {
  custom: {
    50: '#9366b0',
    500: '#62268f',
    950: '#000000',
  },
}
SCSS
$custom: #62268f;
$custom-light: #9366b0;
$custom-dark: #000000;
JSON
{
  "hex": "#62268f",
  "rgb": {
    "r": 98,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 274.286,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4112,
    "c": 0.16541,
    "h": 306.5
  },
  "luminance": 0.05966
}

Semantic roles & 50–950 ramp

primary
#62268F
secondary
#82B958
accent
#E14789
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #62268F

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

Preview Lab → · Contrast checker → · Palette generator →

#62268F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva