#2B0A43#2B0A43

#2B0A43 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.8% C 0.101 H 306.3°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#2B0A43
RGBrgb(43, 10, 67)
HSLhsl(275, 74%, 15%)
HSVhsv(275, 85%, 26%)
CMYKcmyk(35.8%, 85.1%, 0%, 73.7%)
CIE-LABlab(10.08, 28.30, -28.60)
CIE-LCHlch(10.08, 40.23, 314.70°)
OKLaboklab(23.75% 0.0599 -0.0813)
OKLCHoklch(23.75% 0.101 306.3)
XYZxyz(2.1177, 1.1359, 5.4168)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0A43 #22430A
analogous
#0F0A43 #2B0A43 #430A3E
triadic
#2B0A43 #432B0A #0A432B
tetradic
#2B0A43 #430F0A #22430A #0A3E43
square
#2B0A43 #430F0A #22430A #0A3E43
split-complementary
#2B0A43 #3E430A #0A430F
monochromatic
#11041B #11041B #2B0A43 #4D1278 #6F1AAE

Accessibility & contrast

On white

17.11
#2B0A43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2B0A43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0A43
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0A43#FFFFFF#000000##FFFFFF
##2B0A431.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B45
Deuteranopia (green-blind)
#001C42
Tritanopia (blue-blind)
#271826
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2b0a43;
/* rgb */ color: rgb(43, 10, 67);
/* oklch */ color: oklch(23.8% 0.101 306.3);
Tailwind
colors: {
  custom: {
    50: '#674d78',
    500: '#2b0a43',
    950: '#000000',
  },
}
SCSS
$custom: #2b0a43;
$custom-light: #674d78;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0a43",
  "rgb": {
    "r": 43,
    "g": 10,
    "b": 67
  },
  "hsl": {
    "h": 274.737,
    "s": 74.026,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23754,
    "c": 0.10098,
    "h": 306.3
  },
  "luminance": 0.01136
}

Semantic roles & 50–950 ramp

primary
#2B0A43
secondary
#4D8029
accent
#F13785
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2B0A43

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

Preview Lab → · Contrast checker → · Palette generator →

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