#2B1050#2B1050

#2B1050 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.8% C 0.109 H 297.3°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#2B1050
RGBrgb(43, 16, 80)
HSLhsl(265, 67%, 19%)
HSVhsv(265, 80%, 31%)
CMYKcmyk(46.2%, 80%, 0%, 68.6%)
CIE-LABlab(12.37, 28.92, -33.90)
CIE-LCHlch(12.37, 44.56, 310.46°)
OKLaboklab(25.75% 0.0501 -0.097)
OKLCHoklch(25.75% 0.109 297.3)
XYZxyz(2.6291, 1.4633, 7.7318)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1050 #355010
analogous
#101550 #2B1050 #4B1050
triadic
#2B1050 #502B10 #10502B
tetradic
#2B1050 #501015 #355010 #10504B
square
#2B1050 #501015 #355010 #10504B
split-complementary
#2B1050 #504B10 #155010
monochromatic
#0E051A #10061D #2B1050 #461A83 #6224B6

Accessibility & contrast

On white

16.25
#2B1050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2B1050 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1050
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1050#FFFFFF#000000##FFFFFF
##2B10501.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002052
Deuteranopia (green-blind)
#001F4F
Tritanopia (blue-blind)
#21202F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2b1050;
/* rgb */ color: rgb(43, 16, 80);
/* oklch */ color: oklch(25.8% 0.109 297.3);
Tailwind
colors: {
  custom: {
    50: '#695182',
    500: '#2b1050',
    950: '#000000',
  },
}
SCSS
$custom: #2b1050;
$custom-light: #695182;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1050",
  "rgb": {
    "r": 43,
    "g": 16,
    "b": 80
  },
  "hsl": {
    "h": 265.313,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25753,
    "c": 0.10912,
    "h": 297.3
  },
  "luminance": 0.01463
}

Semantic roles & 50–950 ramp

primary
#2B1050
secondary
#658A32
accent
#EA3EA1
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2B1050

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

Preview Lab → · Contrast checker → · Palette generator →

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