#6239CB#6239CB

#6239CB is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.5% C 0.210 H 288.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#6239CB
RGBrgb(98, 57, 203)
HSLhsl(257, 58%, 51%)
HSVhsv(257, 72%, 80%)
CMYKcmyk(51.7%, 71.9%, 0%, 20.4%)
CIE-LABlab(37.54, 52.44, -69.32)
CIE-LCHlch(37.54, 86.92, 307.11°)
OKLaboklab(48.48% 0.0681 -0.1992)
OKLCHoklch(48.48% 0.21 288.9)
XYZxyz(17.2765, 9.8339, 57.4761)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6239CB #A2CB39
analogous
#3959CB #6239CB #AB39CB
triadic
#6239CB #CB6239 #39CB62
tetradic
#6239CB #CB3959 #A2CB39 #39CBAB
square
#6239CB #CB3959 #A2CB39 #39CBAB
split-complementary
#6239CB #CBAB39 #59CB39
monochromatic
#331D6D #4A299D #6239CB #8869D8 #AF9AE4

Accessibility & contrast

On white

7.08
#6239CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6239CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6239CB
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6239CB#FFFFFF#000000##FFFFFF
##6239CB1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCF
Deuteranopia (green-blind)
#0055C8
Tritanopia (blue-blind)
#3B607E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6239cb;
/* rgb */ color: rgb(98, 57, 203);
/* oklch */ color: oklch(48.5% 0.210 288.9);
Tailwind
colors: {
  custom: {
    50: '#9973dc',
    500: '#6239cb',
    950: '#000000',
  },
}
SCSS
$custom: #6239cb;
$custom-light: #9973dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6239cb",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 256.849,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48478,
    "c": 0.21048,
    "h": 288.9
  },
  "luminance": 0.09835
}

Semantic roles & 50–950 ramp

primary
#6239CB
secondary
#BED090
accent
#E246B6
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6239CB

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

Preview Lab → · Contrast checker → · Palette generator →

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