#6239C3#6239C3

#6239C3 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 47.8% C 0.201 H 290.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#6239C3
RGBrgb(98, 57, 195)
HSLhsl(258, 55%, 49%)
HSVhsv(258, 71%, 76%)
CMYKcmyk(49.7%, 70.8%, 0%, 23.5%)
CIE-LABlab(36.86, 50.22, -65.78)
CIE-LCHlch(36.86, 82.76, 307.36°)
OKLaboklab(47.78% 0.0697 -0.1888)
OKLCHoklch(47.78% 0.201 290.3)
XYZxyz(16.3476, 9.4624, 52.5842)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6239C3 #9AC339
analogous
#3955C3 #6239C3 #A739C3
triadic
#6239C3 #C36239 #39C362
tetradic
#6239C3 #C33955 #9AC339 #39C3A7
square
#6239C3 #C33955 #9AC339 #39C3A7
split-complementary
#6239C3 #C3A739 #55C339
monochromatic
#321D64 #4A2B94 #6239C3 #8767D2 #AC96E0

Accessibility & contrast

On white

7.26
#6239C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6239C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6239C3
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6239C3#FFFFFF#000000##FFFFFF
##6239C31.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C7
Deuteranopia (green-blind)
#0054C0
Tritanopia (blue-blind)
#415D7A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6239c3;
/* rgb */ color: rgb(98, 57, 195);
/* oklch */ color: oklch(47.8% 0.201 290.3);
Tailwind
colors: {
  custom: {
    50: '#9773d6',
    500: '#6239c3',
    950: '#000000',
  },
}
SCSS
$custom: #6239c3;
$custom-light: #9773d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6239c3",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 195
  },
  "hsl": {
    "h": 257.826,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47783,
    "c": 0.20124,
    "h": 290.3
  },
  "luminance": 0.09463
}

Semantic roles & 50–950 ramp

primary
#6239C3
secondary
#B9CC8C
accent
#DE4AB2
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6239C3

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

Preview Lab → · Contrast checker → · Palette generator →

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