#2B1360#2B1360

#2B1360 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.8% C 0.126 H 289.8°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#2B1360
RGBrgb(43, 19, 96)
HSLhsl(259, 67%, 23%)
HSVhsv(259, 80%, 38%)
CMYKcmyk(55.2%, 80.2%, 0%, 62.4%)
CIE-LABlab(14.53, 32.16, -41.18)
CIE-LCHlch(14.53, 52.25, 307.99°)
OKLaboklab(27.76% 0.0427 -0.1183)
OKLCHoklch(27.76% 0.126 289.8)
XYZxyz(3.3398, 1.8237, 11.2401)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1360 #486013
analogous
#132260 #2B1360 #511360
triadic
#2B1360 #602B13 #13602B
tetradic
#2B1360 #601322 #486013 #136051
square
#2B1360 #601322 #486013 #136051
split-complementary
#2B1360 #605113 #226013
monochromatic
#0B051A #14092D #2B1360 #421D93 #5927C6

Accessibility & contrast

On white

15.39
#2B1360 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#2B1360 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1360
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1360#FFFFFF#000000##FFFFFF
##2B13601.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002662
Deuteranopia (green-blind)
#00235F
Tritanopia (blue-blind)
#182838
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2b1360;
/* rgb */ color: rgb(43, 19, 96);
/* oklch */ color: oklch(27.8% 0.126 289.8);
Tailwind
colors: {
  custom: {
    50: '#6b548e',
    500: '#2b1360',
    950: '#000000',
  },
}
SCSS
$custom: #2b1360;
$custom-light: #6b548e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1360",
  "rgb": {
    "r": 43,
    "g": 19,
    "b": 96
  },
  "hsl": {
    "h": 258.701,
    "s": 66.957,
    "l": 22.549
  },
  "oklch": {
    "l": 0.27764,
    "c": 0.12579,
    "h": 289.8
  },
  "luminance": 0.01824
}

Semantic roles & 50–950 ramp

primary
#2B1360
secondary
#7A9837
accent
#EA3EB4
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #2B1360

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

Preview Lab → · Contrast checker → · Palette generator →

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