#6F30BB#6F30BB

#6F30BB is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.4% C 0.203 H 299.0°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#6F30BB
RGBrgb(111, 48, 187)
HSLhsl(267, 59%, 46%)
HSVhsv(267, 74%, 73%)
CMYKcmyk(40.6%, 74.3%, 0%, 26.7%)
CIE-LABlab(36.14, 54.63, -62.20)
CIE-LCHlch(36.14, 82.78, 311.30°)
OKLaboklab(47.4% 0.0984 -0.1778)
OKLCHoklch(47.4% 0.203 299)
XYZxyz(16.5799, 9.0810, 47.8834)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F30BB #7CBB30
analogous
#3036BB #6F30BB #B430BB
triadic
#6F30BB #BB6F30 #30BB6F
tetradic
#6F30BB #BB3036 #7CBB30 #30BBB4
square
#6F30BB #BB3036 #7CBB30 #30BBB4
split-complementary
#6F30BB #BBB430 #36BB30
monochromatic
#35175A #52238A #6F30BB #8E55D3 #AE86E0

Accessibility & contrast

On white

7.46
#6F30BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6F30BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F30BB
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F30BB#FFFFFF#000000##FFFFFF
##6F30BB1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#5D5473
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6f30bb;
/* rgb */ color: rgb(111, 48, 187);
/* oklch */ color: oklch(47.4% 0.203 299.0);
Tailwind
colors: {
  custom: {
    50: '#9f6fd0',
    500: '#6f30bb',
    950: '#000000',
  },
}
SCSS
$custom: #6f30bb;
$custom-light: #9f6fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f30bb",
  "rgb": {
    "r": 111,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 267.194,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47404,
    "c": 0.20317,
    "h": 299
  },
  "luminance": 0.09081
}

Semantic roles & 50–950 ramp

primary
#6F30BB
secondary
#A7C97D
accent
#E2459B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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