#6239D3#6239D3

#6239D3 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.2% C 0.220 H 287.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#6239D3
RGBrgb(98, 57, 211)
HSLhsl(256, 64%, 53%)
HSVhsv(256, 73%, 83%)
CMYKcmyk(53.6%, 73%, 0%, 17.3%)
CIE-LABlab(38.24, 54.67, -72.80)
CIE-LCHlch(38.24, 91.05, 306.90°)
OKLaboklab(49.19% 0.0663 -0.2094)
OKLCHoklch(49.19% 0.22 287.6)
XYZxyz(18.2545, 10.2251, 62.6272)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6239D3 #AAD339
analogous
#395DD3 #6239D3 #AF39D3
triadic
#6239D3 #D36239 #39D362
tetradic
#6239D3 #D3395D #AAD339 #39D3AF
square
#6239D3 #D3395D #AAD339 #39D3AF
split-complementary
#6239D3 #D3AF39 #5DD339
monochromatic
#331A77 #4926A9 #6239D3 #8A6BDE #B19DE9

Accessibility & contrast

On white

6.90
#6239D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6239D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6239D3
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6239D3#FFFFFF#000000##FFFFFF
##6239D31.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED7
Deuteranopia (green-blind)
#0056D0
Tritanopia (blue-blind)
#346383
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6239d3;
/* rgb */ color: rgb(98, 57, 211);
/* oklch */ color: oklch(49.2% 0.220 287.6);
Tailwind
colors: {
  custom: {
    50: '#9a73e2',
    500: '#6239d3',
    950: '#000000',
  },
}
SCSS
$custom: #6239d3;
$custom-light: #9a73e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6239d3",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 211
  },
  "hsl": {
    "h": 255.974,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49188,
    "c": 0.21963,
    "h": 287.6
  },
  "luminance": 0.10226
}

Semantic roles & 50–950 ramp

primary
#6239D3
secondary
#C4D592
accent
#E741BB
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0815
muted
#7F7B84

Preview Lab

Preview with #6239D3

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

Preview Lab → · Contrast checker → · Palette generator →

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