#2B1055#2B1055

#2B1055 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.2% C 0.115 H 295.0°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#2B1055
RGBrgb(43, 16, 85)
HSLhsl(263, 68%, 20%)
HSVhsv(263, 81%, 33%)
CMYKcmyk(49.4%, 81.2%, 0%, 66.7%)
CIE-LABlab(12.86, 30.41, -36.52)
CIE-LCHlch(12.86, 47.52, 309.78°)
OKLaboklab(26.25% 0.0487 -0.1046)
OKLCHoklch(26.25% 0.115 295)
XYZxyz(2.8208, 1.5400, 8.7412)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1055 #3A5510
analogous
#101855 #2B1055 #4E1055
triadic
#2B1055 #552B10 #10552B
tetradic
#2B1055 #551018 #3A5510 #10554E
square
#2B1055 #551018 #3A5510 #10554E
split-complementary
#2B1055 #554E10 #185510
monochromatic
#0D051A #110621 #2B1055 #451A89 #5F23BC

Accessibility & contrast

On white

16.06
#2B1055 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2B1055 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1055
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1055#FFFFFF#000000##FFFFFF
##2B10551.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002257
Deuteranopia (green-blind)
#002054
Tritanopia (blue-blind)
#1F2232
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2b1055;
/* rgb */ color: rgb(43, 16, 85);
/* oklch */ color: oklch(26.2% 0.115 295.0);
Tailwind
colors: {
  custom: {
    50: '#695186',
    500: '#2b1055',
    950: '#000000',
  },
}
SCSS
$custom: #2b1055;
$custom-light: #695186;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1055",
  "rgb": {
    "r": 43,
    "g": 16,
    "b": 85
  },
  "hsl": {
    "h": 263.478,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26247,
    "c": 0.11542,
    "h": 295
  },
  "luminance": 0.0154
}

Semantic roles & 50–950 ramp

primary
#2B1055
secondary
#6A8F32
accent
#EB3DA7
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2B1055

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

Preview Lab → · Contrast checker → · Palette generator →

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