#2B1060#2B1060

#2B1060 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.4% C 0.129 H 290.5°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#2B1060
RGBrgb(43, 16, 96)
HSLhsl(260, 71%, 22%)
HSVhsv(260, 83%, 38%)
CMYKcmyk(55.2%, 83.3%, 0%, 62.4%)
CIE-LABlab(13.99, 33.71, -42.06)
CIE-LCHlch(13.99, 53.90, 308.71°)
OKLaboklab(27.39% 0.0452 -0.1209)
OKLCHoklch(27.39% 0.129 290.5)
XYZxyz(3.2923, 1.7286, 11.2242)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1060 #456010
analogous
#101D60 #2B1060 #531060
triadic
#2B1060 #602B10 #10602B
tetradic
#2B1060 #60101D #456010 #106053
square
#2B1060 #60101D #456010 #106053
split-complementary
#2B1060 #605310 #1D6010
monochromatic
#0C041A #14072C #2B1060 #421994 #5A21C9

Accessibility & contrast

On white

15.60
#2B1060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#2B1060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1060
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1060#FFFFFF#000000##FFFFFF
##2B10601.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002562
Deuteranopia (green-blind)
#00225F
Tritanopia (blue-blind)
#182738
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2b1060;
/* rgb */ color: rgb(43, 16, 96);
/* oklch */ color: oklch(27.4% 0.129 290.5);
Tailwind
colors: {
  custom: {
    50: '#6b528e',
    500: '#2b1060',
    950: '#000000',
  },
}
SCSS
$custom: #2b1060;
$custom-light: #6b528e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1060",
  "rgb": {
    "r": 43,
    "g": 16,
    "b": 96
  },
  "hsl": {
    "h": 260.25,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27386,
    "c": 0.12908,
    "h": 290.5
  },
  "luminance": 0.01729
}

Semantic roles & 50–950 ramp

primary
#2B1060
secondary
#769933
accent
#EE3AB1
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #2B1060

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

Preview Lab → · Contrast checker → · Palette generator →

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