#6239A3#6239A3

#6239A3 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.2% C 0.163 H 297.2°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#6239A3
RGBrgb(98, 57, 163)
HSLhsl(263, 48%, 43%)
HSVhsv(263, 65%, 64%)
CMYKcmyk(39.9%, 65%, 0%, 36.1%)
CIE-LABlab(34.33, 41.40, -50.92)
CIE-LCHlch(34.33, 65.63, 309.12°)
OKLaboklab(45.18% 0.0746 -0.1451)
OKLCHoklch(45.18% 0.163 297.2)
XYZxyz(13.1093, 8.1670, 35.5290)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6239A3 #7AA339
analogous
#3945A3 #6239A3 #9739A3
triadic
#6239A3 #A36239 #39A362
tetradic
#6239A3 #A33945 #7AA339 #39A397
square
#6239A3 #A33945 #7AA339 #39A397
split-complementary
#6239A3 #A39739 #45A339
monochromatic
#2B1948 #472976 #6239A3 #8055C4 #A283D4

Accessibility & contrast

On white

7.97
#6239A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6239A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6239A3
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6239A3#FFFFFF#000000##FFFFFF
##6239A31.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A6
Deuteranopia (green-blind)
#004FA1
Tritanopia (blue-blind)
#525169
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6239a3;
/* rgb */ color: rgb(98, 57, 163);
/* oklch */ color: oklch(45.2% 0.163 297.2);
Tailwind
colors: {
  custom: {
    50: '#9472bf',
    500: '#6239a3',
    950: '#000000',
  },
}
SCSS
$custom: #6239a3;
$custom-light: #9472bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6239a3",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 163
  },
  "hsl": {
    "h": 263.208,
    "s": 48.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45178,
    "c": 0.16314,
    "h": 297.2
  },
  "luminance": 0.08167
}

Semantic roles & 50–950 ramp

primary
#6239A3
secondary
#A3BD7A
accent
#D850A3
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6239A3

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

Preview Lab → · Contrast checker → · Palette generator →

#6239A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva