#6239BE#6239BE

#6239BE is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.4% C 0.195 H 291.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#6239BE
RGBrgb(98, 57, 190)
HSLhsl(258, 54%, 48%)
HSVhsv(258, 70%, 75%)
CMYKcmyk(48.4%, 70%, 0%, 25.5%)
CIE-LABlab(36.44, 48.83, -63.53)
CIE-LCHlch(36.44, 80.13, 307.55°)
OKLaboklab(47.36% 0.0707 -0.1822)
OKLCHoklch(47.36% 0.195 291.2)
XYZxyz(15.7918, 9.2400, 49.6567)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6239BE #95BE39
analogous
#3953BE #6239BE #A439BE
triadic
#6239BE #BE6239 #39BE62
tetradic
#6239BE #BE3953 #95BE39 #39BEA4
square
#6239BE #BE3953 #95BE39 #39BEA4
split-complementary
#6239BE #BEA439 #53BE39
monochromatic
#311D60 #4A2B8F #6239BE #8564D0 #AA93DF

Accessibility & contrast

On white

7.37
#6239BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6239BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6239BE
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6239BE#FFFFFF#000000##FFFFFF
##6239BE1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C2
Deuteranopia (green-blind)
#0053BB
Tritanopia (blue-blind)
#445B77
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6239be;
/* rgb */ color: rgb(98, 57, 190);
/* oklch */ color: oklch(47.4% 0.195 291.2);
Tailwind
colors: {
  custom: {
    50: '#9773d3',
    500: '#6239be',
    950: '#000000',
  },
}
SCSS
$custom: #6239be;
$custom-light: #9773d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6239be",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 190
  },
  "hsl": {
    "h": 258.496,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47356,
    "c": 0.1954,
    "h": 291.2
  },
  "luminance": 0.09241
}

Semantic roles & 50–950 ramp

primary
#6239BE
secondary
#B6CA89
accent
#DD4BB0
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #6239BE

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

Preview Lab → · Contrast checker → · Palette generator →

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