#2B0A47#2B0A47

#2B0A47 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.106 H 303.8°. Best body text is #FFFFFF at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#2B0A47
RGBrgb(43, 10, 71)
HSLhsl(272, 75%, 16%)
HSVhsv(272, 86%, 28%)
CMYKcmyk(39.4%, 85.9%, 0%, 72.2%)
CIE-LABlab(10.45, 29.38, -30.80)
CIE-LCHlch(10.45, 42.57, 313.65°)
OKLaboklab(24.13% 0.0588 -0.0878)
OKLCHoklch(24.13% 0.106 303.8)
XYZxyz(2.2419, 1.1856, 6.0708)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0A47 #26470A
analogous
#0C0A47 #2B0A47 #470A44
triadic
#2B0A47 #472B0A #0A472B
tetradic
#2B0A47 #470C0A #26470A #0A4447
square
#2B0A47 #470C0A #26470A #0A4447
split-complementary
#2B0A47 #44470A #0A470C
monochromatic
#10041B #10041B #2B0A47 #4B127D #6C19B2

Accessibility & contrast

On white

16.97
#2B0A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#2B0A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0A47
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0A47#FFFFFF#000000##FFFFFF
##2B0A471.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C49
Deuteranopia (green-blind)
#001C46
Tritanopia (blue-blind)
#251A28
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2b0a47;
/* rgb */ color: rgb(43, 10, 71);
/* oklch */ color: oklch(24.1% 0.106 303.8);
Tailwind
colors: {
  custom: {
    50: '#684d7b',
    500: '#2b0a47',
    950: '#000000',
  },
}
SCSS
$custom: #2b0a47;
$custom-light: #684d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0a47",
  "rgb": {
    "r": 43,
    "g": 10,
    "b": 71
  },
  "hsl": {
    "h": 272.459,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24134,
    "c": 0.10566,
    "h": 303.8
  },
  "luminance": 0.01186
}

Semantic roles & 50–950 ramp

primary
#2B0A47
secondary
#538429
accent
#F2368C
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #2B0A47

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

Preview Lab → · Contrast checker → · Palette generator →

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