#6F2DBA#6F2DBA

#6F2DBA is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.205 H 299.6°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#6F2DBA
RGBrgb(111, 45, 186)
HSLhsl(268, 61%, 45%)
HSVhsv(268, 76%, 73%)
CMYKcmyk(40.3%, 75.8%, 0%, 27.1%)
CIE-LABlab(35.60, 55.69, -62.49)
CIE-LCHlch(35.60, 83.70, 311.71°)
OKLaboklab(47% 0.1013 -0.1786)
OKLCHoklch(47% 0.205 299.6)
XYZxyz(16.3546, 8.8013, 47.2820)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2DBA #78BA2D
analogous
#2D32BA #6F2DBA #B52DBA
triadic
#6F2DBA #BA6F2D #2DBA6F
tetradic
#6F2DBA #BA2D32 #78BA2D #2DBAB5
square
#6F2DBA #BA2D32 #78BA2D #2DBAB5
split-complementary
#6F2DBA #BAB52D #32BA2D
monochromatic
#341557 #522189 #6F2DBA #8E50D5 #AE81E0

Accessibility & contrast

On white

7.61
#6F2DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6F2DBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2DBA
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2DBA#FFFFFF#000000##FFFFFF
##6F2DBA1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#0053B7
Tritanopia (blue-blind)
#5D5272
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6f2dba;
/* rgb */ color: rgb(111, 45, 186);
/* oklch */ color: oklch(47.0% 0.205 299.6);
Tailwind
colors: {
  custom: {
    50: '#9f6dd0',
    500: '#6f2dba',
    950: '#000000',
  },
}
SCSS
$custom: #6f2dba;
$custom-light: #9f6dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2dba",
  "rgb": {
    "r": 111,
    "g": 45,
    "b": 186
  },
  "hsl": {
    "h": 268.085,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46997,
    "c": 0.20531,
    "h": 299.6
  },
  "luminance": 0.08801
}

Semantic roles & 50–950 ramp

primary
#6F2DBA
secondary
#A4C979
accent
#E44499
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6F2DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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