#2B0D56#2B0D56

#2B0D56 is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.0% C 0.120 H 295.2°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#2B0D56
RGBrgb(43, 13, 86)
HSLhsl(265, 74%, 19%)
HSVhsv(265, 85%, 34%)
CMYKcmyk(50%, 84.9%, 0%, 66.3%)
CIE-LABlab(12.44, 32.21, -37.89)
CIE-LCHlch(12.44, 49.73, 310.36°)
OKLaboklab(25.98% 0.0512 -0.1086)
OKLCHoklch(25.98% 0.12 295.2)
XYZxyz(2.8194, 1.4732, 8.9381)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0D56 #38560D
analogous
#0D1356 #2B0D56 #500D56
triadic
#2B0D56 #562B0D #0D562B
tetradic
#2B0D56 #560D13 #38560D #0D5650
square
#2B0D56 #560D13 #38560D #0D5650
split-complementary
#2B0D56 #56500D #13560D
monochromatic
#0D041B #100521 #2B0D56 #46158B #601DC0

Accessibility & contrast

On white

16.22
#2B0D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0D56
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0D56#FFFFFF#000000##FFFFFF
##2B0D561.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002158
Deuteranopia (green-blind)
#001F55
Tritanopia (blue-blind)
#1F2131
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2b0d56;
/* rgb */ color: rgb(43, 13, 86);
/* oklch */ color: oklch(26.0% 0.120 295.2);
Tailwind
colors: {
  custom: {
    50: '#6a5086',
    500: '#2b0d56',
    950: '#000000',
  },
}
SCSS
$custom: #2b0d56;
$custom-light: #6a5086;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0d56",
  "rgb": {
    "r": 43,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 264.658,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25982,
    "c": 0.12009,
    "h": 295.2
  },
  "luminance": 0.01473
}

Semantic roles & 50–950 ramp

primary
#2B0D56
secondary
#68912E
accent
#F037A4
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2B0D56

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

Preview Lab → · Contrast checker → · Palette generator →

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