#2B109F#2B109F

#2B109F is a dark, highly saturated violet. Relative luminance 0.034; OKLCH L 34.7% C 0.203 H 276.2°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#2B109F
RGBrgb(43, 16, 159)
HSLhsl(251, 82%, 34%)
HSVhsv(251, 90%, 62%)
CMYKcmyk(73%, 89.9%, 0%, 37.6%)
CIE-LABlab(21.53, 52.09, -69.71)
CIE-LCHlch(21.53, 87.02, 306.77°)
OKLaboklab(34.74% 0.0219 -0.2013)
OKLCHoklch(34.74% 0.203 276.2)
XYZxyz(7.4375, 3.3867, 33.0559)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B109F #849F10
analogous
#103C9F #2B109F #73109F
triadic
#2B109F #9F2B10 #109F2B
tetradic
#2B109F #9F103C #849F10 #109F73
square
#2B109F #9F103C #849F10 #109F73
split-complementary
#2B109F #9F7310 #3C9F10
monochromatic
#0D0530 #1C0A67 #2B109F #3A16D7 #5F3EEC

Accessibility & contrast

On white

12.52
#2B109F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2B109F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B109F
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B109F#FFFFFF#000000##FFFFFF
##2B109F1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0039A3
Deuteranopia (green-blind)
#002D9D
Tritanopia (blue-blind)
#00425D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b109f;
/* rgb */ color: rgb(43, 16, 159);
/* oklch */ color: oklch(34.7% 0.203 276.2);
Tailwind
colors: {
  custom: {
    50: '#7957bd',
    500: '#2b109f',
    950: '#000000',
  },
}
SCSS
$custom: #2b109f;
$custom-light: #7957bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b109f",
  "rgb": {
    "r": 43,
    "g": 16,
    "b": 159
  },
  "hsl": {
    "h": 251.329,
    "s": 81.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34745,
    "c": 0.20252,
    "h": 276.2
  },
  "luminance": 0.03387
}

Semantic roles & 50–950 ramp

primary
#2B109F
secondary
#B1CB40
accent
#F830D2
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2B109F

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

Preview Lab → · Contrast checker → · Palette generator →

#2B109F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva