#2B109A#2B109A

#2B109A is a dark, vivid violet. Relative luminance 0.032; OKLCH L 34.1% C 0.197 H 276.9°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#2B109A
RGBrgb(43, 16, 154)
HSLhsl(252, 81%, 33%)
HSVhsv(252, 90%, 60%)
CMYKcmyk(72.1%, 89.6%, 0%, 39.6%)
CIE-LABlab(20.89, 50.69, -67.71)
CIE-LCHlch(20.89, 84.58, 306.82°)
OKLaboklab(34.13% 0.0237 -0.1955)
OKLCHoklch(34.13% 0.197 276.9)
XYZxyz(7.0124, 3.2166, 30.8169)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B109A #7F9A10
analogous
#103A9A #2B109A #70109A
triadic
#2B109A #9A2B10 #109A2B
tetradic
#2B109A #9A103A #7F9A10 #109A70
square
#2B109A #9A103A #7F9A10 #109A70
split-complementary
#2B109A #9A7010 #3A9A10
monochromatic
#0C042B #1C0A63 #2B109A #3A16D1 #5C3AEB

Accessibility & contrast

On white

12.78
#2B109A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2B109A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B109A
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B109A#FFFFFF#000000##FFFFFF
##2B109A1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00389E
Deuteranopia (green-blind)
#002C98
Tritanopia (blue-blind)
#00405A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2b109a;
/* rgb */ color: rgb(43, 16, 154);
/* oklch */ color: oklch(34.1% 0.197 276.9);
Tailwind
colors: {
  custom: {
    50: '#7857b9',
    500: '#2b109a',
    950: '#000000',
  },
}
SCSS
$custom: #2b109a;
$custom-light: #7857b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b109a",
  "rgb": {
    "r": 43,
    "g": 16,
    "b": 154
  },
  "hsl": {
    "h": 251.739,
    "s": 81.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34131,
    "c": 0.19696,
    "h": 276.9
  },
  "luminance": 0.03217
}

Semantic roles & 50–950 ramp

primary
#2B109A
secondary
#AEC93C
accent
#F830D1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0312
muted
#7C7881

Preview Lab

Preview with #2B109A

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

Preview Lab → · Contrast checker → · Palette generator →

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