#62309F#62309F

#62309F is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.6% C 0.170 H 299.9°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#62309F
RGBrgb(98, 48, 159)
HSLhsl(267, 54%, 41%)
HSVhsv(267, 70%, 62%)
CMYKcmyk(38.4%, 69.8%, 0%, 37.6%)
CIE-LABlab(32.29, 45.11, -51.81)
CIE-LCHlch(32.29, 68.70, 311.05°)
OKLaboklab(43.62% 0.0851 -0.1477)
OKLCHoklch(43.62% 0.17 299.9)
XYZxyz(12.3504, 7.2137, 33.5359)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#62309F #6D9F30
analogous
#30359F #62309F #99309F
triadic
#62309F #9F6230 #309F62
tetradic
#62309F #9F3035 #6D9F30 #309F99
square
#62309F #9F3035 #6D9F30 #309F99
split-complementary
#62309F #9F9930 #359F30
monochromatic
#281441 #452270 #62309F #8045C7 #A074D5

Accessibility & contrast

On white

8.60
#62309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#62309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #62309F
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##62309F#FFFFFF#000000##FFFFFF
##62309F1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#544A64
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #62309f;
/* rgb */ color: rgb(98, 48, 159);
/* oklch */ color: oklch(43.6% 0.170 299.9);
Tailwind
colors: {
  custom: {
    50: '#946cbc',
    500: '#62309f',
    950: '#000000',
  },
}
SCSS
$custom: #62309f;
$custom-light: #946cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#62309f",
  "rgb": {
    "r": 98,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 267.027,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43617,
    "c": 0.17045,
    "h": 299.9
  },
  "luminance": 0.07214
}

Semantic roles & 50–950 ramp

primary
#62309F
secondary
#99BD6E
accent
#DD4B9B
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #62309F

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

Preview Lab → · Contrast checker → · Palette generator →

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