#6530B2#6530B2

#6530B2 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.192 H 296.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#6530B2
RGBrgb(101, 48, 178)
HSLhsl(264, 58%, 44%)
HSVhsv(264, 73%, 70%)
CMYKcmyk(43.3%, 73%, 0%, 30.2%)
CIE-LABlab(34.18, 50.61, -60.12)
CIE-LCHlch(34.18, 78.59, 310.09°)
OKLaboklab(45.52% 0.0859 -0.172)
OKLCHoklch(45.52% 0.192 296.5)
XYZxyz(14.4575, 8.0947, 42.9116)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6530B2 #7DB230
analogous
#303CB2 #6530B2 #A630B2
triadic
#6530B2 #B26530 #30B265
tetradic
#6530B2 #B2303C #7DB230 #30B2A6
square
#6530B2 #B2303C #7DB230 #30B2A6
split-complementary
#6530B2 #B2A630 #3CB230
monochromatic
#2E1652 #4A2382 #6530B2 #8450D0 #A680DD

Accessibility & contrast

On white

8.02
#6530B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6530B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6530B2
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6530B2#FFFFFF#000000##FFFFFF
##6530B21.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#004FAF
Tritanopia (blue-blind)
#51516E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6530b2;
/* rgb */ color: rgb(101, 48, 178);
/* oklch */ color: oklch(45.5% 0.192 296.5);
Tailwind
colors: {
  custom: {
    50: '#986dca',
    500: '#6530b2',
    950: '#000000',
  },
}
SCSS
$custom: #6530b2;
$custom-light: #986dca;
$custom-dark: #000000;
JSON
{
  "hex": "#6530b2",
  "rgb": {
    "r": 101,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 264.462,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45518,
    "c": 0.19224,
    "h": 296.5
  },
  "luminance": 0.08095
}

Semantic roles & 50–950 ramp

primary
#6530B2
secondary
#A6C678
accent
#E147A2
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6530B2

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

Preview Lab → · Contrast checker → · Palette generator →

#6530B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva