#2B1059#2B1059

#2B1059 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.7% C 0.120 H 293.2°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#2B1059
RGBrgb(43, 16, 89)
HSLhsl(262, 70%, 21%)
HSVhsv(262, 82%, 35%)
CMYKcmyk(51.7%, 82%, 0%, 65.1%)
CIE-LABlab(13.26, 31.61, -38.57)
CIE-LCHlch(13.26, 49.86, 309.33°)
OKLaboklab(26.65% 0.0475 -0.1107)
OKLCHoklch(26.65% 0.12 293.2)
XYZxyz(2.9842, 1.6053, 9.6019)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1059 #3E5910
analogous
#101959 #2B1059 #4F1059
triadic
#2B1059 #592B10 #10592B
tetradic
#2B1059 #591019 #3E5910 #10594F
square
#2B1059 #591019 #3E5910 #10594F
split-complementary
#2B1059 #594F10 #195910
monochromatic
#0D051A #120725 #2B1059 #44198D #5D23C1

Accessibility & contrast

On white

15.90
#2B1059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#2B1059 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1059
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1059#FFFFFF#000000##FFFFFF
##2B10591.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235B
Deuteranopia (green-blind)
#002158
Tritanopia (blue-blind)
#1D2434
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2b1059;
/* rgb */ color: rgb(43, 16, 89);
/* oklch */ color: oklch(26.7% 0.120 293.2);
Tailwind
colors: {
  custom: {
    50: '#6a5189',
    500: '#2b1059',
    950: '#000000',
  },
}
SCSS
$custom: #2b1059;
$custom-light: #6a5189;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1059",
  "rgb": {
    "r": 43,
    "g": 16,
    "b": 89
  },
  "hsl": {
    "h": 262.192,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.26653,
    "c": 0.12042,
    "h": 293.2
  },
  "luminance": 0.01605
}

Semantic roles & 50–950 ramp

primary
#2B1059
secondary
#6F9233
accent
#EC3BAB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2B1059

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

Preview Lab → · Contrast checker → · Palette generator →

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