#2B10A1#2B10A1

#2B10A1 is a dark, highly saturated violet. Relative luminance 0.035; OKLCH L 35.0% C 0.205 H 275.9°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#2B10A1
RGBrgb(43, 16, 161)
HSLhsl(251, 82%, 35%)
HSVhsv(251, 90%, 63%)
CMYKcmyk(73.3%, 90.1%, 0%, 36.9%)
CIE-LABlab(21.79, 52.65, -70.51)
CIE-LCHlch(21.79, 88.00, 306.75°)
OKLaboklab(34.99% 0.0212 -0.2036)
OKLCHoklch(34.99% 0.205 275.9)
XYZxyz(7.6125, 3.4566, 33.9773)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B10A1 #86A110
analogous
#103EA1 #2B10A1 #7310A1
triadic
#2B10A1 #A12B10 #10A12B
tetradic
#2B10A1 #A1103E #86A110 #10A173
square
#2B10A1 #A1103E #86A110 #10A173
split-complementary
#2B10A1 #A17310 #3EA110
monochromatic
#0D0532 #1C0A69 #2B10A1 #3A16D9 #603FEC

Accessibility & contrast

On white

12.42
#2B10A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B10A1
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B10A1#FFFFFF#000000##FFFFFF
##2B10A11.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA5
Deuteranopia (green-blind)
#002E9F
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b10a1;
/* rgb */ color: rgb(43, 16, 161);
/* oklch */ color: oklch(35.0% 0.205 275.9);
Tailwind
colors: {
  custom: {
    50: '#7958be',
    500: '#2b10a1',
    950: '#000000',
  },
}
SCSS
$custom: #2b10a1;
$custom-light: #7958be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b10a1",
  "rgb": {
    "r": 43,
    "g": 16,
    "b": 161
  },
  "hsl": {
    "h": 251.172,
    "s": 81.921,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34992,
    "c": 0.20474,
    "h": 275.9
  },
  "luminance": 0.03457
}

Semantic roles & 50–950 ramp

primary
#2B10A1
secondary
#B2CC41
accent
#F830D3
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2B10A1

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

Preview Lab → · Contrast checker → · Palette generator →

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