#6239C0#6239C0

#6239C0 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.5% C 0.198 H 290.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#6239C0
RGBrgb(98, 57, 192)
HSLhsl(258, 54%, 49%)
HSVhsv(258, 70%, 75%)
CMYKcmyk(49%, 70.3%, 0%, 24.7%)
CIE-LABlab(36.61, 49.38, -64.43)
CIE-LCHlch(36.61, 81.18, 307.47°)
OKLaboklab(47.53% 0.0703 -0.1848)
OKLCHoklch(47.53% 0.198 290.8)
XYZxyz(16.0119, 9.3281, 50.8158)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6239C0 #97C039
analogous
#3954C0 #6239C0 #A639C0
triadic
#6239C0 #C06239 #39C062
tetradic
#6239C0 #C03954 #97C039 #39C0A6
square
#6239C0 #C03954 #97C039 #39C0A6
split-complementary
#6239C0 #C0A639 #54C039
monochromatic
#321D62 #4A2B91 #6239C0 #8665D1 #AB94DF

Accessibility & contrast

On white

7.33
#6239C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6239C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6239C0
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6239C0#FFFFFF#000000##FFFFFF
##6239C01.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C4
Deuteranopia (green-blind)
#0053BD
Tritanopia (blue-blind)
#435C78
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6239c0;
/* rgb */ color: rgb(98, 57, 192);
/* oklch */ color: oklch(47.5% 0.198 290.8);
Tailwind
colors: {
  custom: {
    50: '#9773d4',
    500: '#6239c0',
    950: '#000000',
  },
}
SCSS
$custom: #6239c0;
$custom-light: #9773d4;
$custom-dark: #000000;
JSON
{
  "hex": "#6239c0",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 192
  },
  "hsl": {
    "h": 258.222,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47526,
    "c": 0.19775,
    "h": 290.8
  },
  "luminance": 0.09329
}

Semantic roles & 50–950 ramp

primary
#6239C0
secondary
#B7CB8A
accent
#DE4AB1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6239C0

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

Preview Lab → · Contrast checker → · Palette generator →

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