#6F30BA#6F30BA

#6F30BA is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.3% C 0.202 H 299.2°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#6F30BA
RGBrgb(111, 48, 186)
HSLhsl(267, 59%, 46%)
HSVhsv(267, 74%, 73%)
CMYKcmyk(40.3%, 74.2%, 0%, 27.1%)
CIE-LABlab(36.06, 54.38, -61.74)
CIE-LCHlch(36.06, 82.28, 311.38°)
OKLaboklab(47.32% 0.0986 -0.1764)
OKLCHoklch(47.32% 0.202 299.2)
XYZxyz(16.4732, 9.0384, 47.3215)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F30BA #7BBA30
analogous
#3036BA #6F30BA #B430BA
triadic
#6F30BA #BA6F30 #30BA6F
tetradic
#6F30BA #BA3036 #7BBA30 #30BAB4
square
#6F30BA #BA3036 #7BBA30 #30BAB4
split-complementary
#6F30BA #BAB430 #36BA30
monochromatic
#351759 #522389 #6F30BA #8E54D3 #AE85DF

Accessibility & contrast

On white

7.48
#6F30BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6F30BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F30BA
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F30BA#FFFFFF#000000##FFFFFF
##6F30BA1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#0054B7
Tritanopia (blue-blind)
#5D5373
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6f30ba;
/* rgb */ color: rgb(111, 48, 186);
/* oklch */ color: oklch(47.3% 0.202 299.2);
Tailwind
colors: {
  custom: {
    50: '#9f6ed0',
    500: '#6f30ba',
    950: '#000000',
  },
}
SCSS
$custom: #6f30ba;
$custom-light: #9f6ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f30ba",
  "rgb": {
    "r": 111,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 267.391,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47321,
    "c": 0.2021,
    "h": 299.2
  },
  "luminance": 0.09039
}

Semantic roles & 50–950 ramp

primary
#6F30BA
secondary
#A6C97D
accent
#E2469B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F30BA

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

Preview Lab → · Contrast checker → · Palette generator →

#6F30BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva