#2D109F#2D109F

#2D109F is a dark, highly saturated violet. Relative luminance 0.034; OKLCH L 34.9% C 0.202 H 277.1°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#2D109F
RGBrgb(45, 16, 159)
HSLhsl(252, 82%, 34%)
HSVhsv(252, 90%, 62%)
CMYKcmyk(71.7%, 89.9%, 0%, 37.6%)
CIE-LABlab(21.69, 52.21, -69.44)
CIE-LCHlch(21.69, 86.88, 306.94°)
OKLaboklab(34.9% 0.025 -0.2005)
OKLCHoklch(34.9% 0.202 277.1)
XYZxyz(7.5235, 3.4310, 33.0599)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D109F #829F10
analogous
#103B9F #2D109F #75109F
triadic
#2D109F #9F2D10 #109F2D
tetradic
#2D109F #9F103B #829F10 #109F75
square
#2D109F #9F103B #829F10 #109F75
split-complementary
#2D109F #9F7510 #3B9F10
monochromatic
#0E0530 #1D0A67 #2D109F #3D16D7 #613EEC

Accessibility & contrast

On white

12.45
#2D109F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2D109F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D109F
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D109F#FFFFFF#000000##FFFFFF
##2D109F1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d109f;
/* rgb */ color: rgb(45, 16, 159);
/* oklch */ color: oklch(34.9% 0.202 277.1);
Tailwind
colors: {
  custom: {
    50: '#7a58bd',
    500: '#2d109f',
    950: '#000000',
  },
}
SCSS
$custom: #2d109f;
$custom-light: #7a58bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d109f",
  "rgb": {
    "r": 45,
    "g": 16,
    "b": 159
  },
  "hsl": {
    "h": 252.168,
    "s": 81.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34897,
    "c": 0.20205,
    "h": 277.1
  },
  "luminance": 0.03432
}

Semantic roles & 50–950 ramp

primary
#2D109F
secondary
#AFCB40
accent
#F830CF
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2D109F

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

Preview Lab → · Contrast checker → · Palette generator →

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