#6235BF#6235BF

#6235BF is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 46.9% C 0.201 H 291.6°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#6235BF
RGBrgb(98, 53, 191)
HSLhsl(260, 57%, 48%)
HSVhsv(260, 72%, 75%)
CMYKcmyk(48.7%, 72.3%, 0%, 25.1%)
CIE-LABlab(35.80, 51.14, -65.17)
CIE-LCHlch(35.80, 82.84, 308.12°)
OKLaboklab(46.93% 0.0741 -0.187)
OKLCHoklch(46.93% 0.201 291.6)
XYZxyz(15.7114, 8.9039, 50.1709)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6235BF #92BF35
analogous
#354DBF #6235BF #A735BF
triadic
#6235BF #BF6235 #35BF62
tetradic
#6235BF #BF354D #92BF35 #35BFA7
square
#6235BF #BF354D #92BF35 #35BFA7
split-complementary
#6235BF #BFA735 #4DBF35
monochromatic
#311A5F #49288F #6235BF #845FD3 #A98FE0

Accessibility & contrast

On white

7.55
#6235BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6235BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6235BF
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6235BF#FFFFFF#000000##FFFFFF
##6235BF1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0051BC
Tritanopia (blue-blind)
#445977
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6235bf;
/* rgb */ color: rgb(98, 53, 191);
/* oklch */ color: oklch(46.9% 0.201 291.6);
Tailwind
colors: {
  custom: {
    50: '#9770d3',
    500: '#6235bf',
    950: '#000000',
  },
}
SCSS
$custom: #6235bf;
$custom-light: #9770d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6235bf",
  "rgb": {
    "r": 98,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 259.565,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46925,
    "c": 0.20111,
    "h": 291.6
  },
  "luminance": 0.08904
}

Semantic roles & 50–950 ramp

primary
#6235BF
secondary
#B4CA85
accent
#E048AE
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6235BF

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

Preview Lab → · Contrast checker → · Palette generator →

#6235BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva