#2B0A46#2B0A46

#2B0A46 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.0% C 0.104 H 304.4°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#2B0A46
RGBrgb(43, 10, 70)
HSLhsl(273, 75%, 16%)
HSVhsv(273, 86%, 27%)
CMYKcmyk(38.6%, 85.7%, 0%, 72.5%)
CIE-LABlab(10.36, 29.11, -30.25)
CIE-LCHlch(10.36, 41.98, 313.89°)
OKLaboklab(24.04% 0.059 -0.0862)
OKLCHoklch(24.04% 0.104 304.4)
XYZxyz(2.2100, 1.1729, 5.9031)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0A46 #25460A
analogous
#0D0A46 #2B0A46 #460A43
triadic
#2B0A46 #462B0A #0A462B
tetradic
#2B0A46 #460D0A #25460A #0A4346
square
#2B0A46 #460D0A #25460A #0A4346
split-complementary
#2B0A46 #43460A #0A460D
monochromatic
#10041B #10041B #2B0A46 #4C127C #6D19B1

Accessibility & contrast

On white

17.01
#2B0A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0A46
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0A46#FFFFFF#000000##FFFFFF
##2B0A461.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B48
Deuteranopia (green-blind)
#001C45
Tritanopia (blue-blind)
#261928
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2b0a46;
/* rgb */ color: rgb(43, 10, 70);
/* oklch */ color: oklch(24.0% 0.104 304.4);
Tailwind
colors: {
  custom: {
    50: '#684d7a',
    500: '#2b0a46',
    950: '#000000',
  },
}
SCSS
$custom: #2b0a46;
$custom-light: #684d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0a46",
  "rgb": {
    "r": 43,
    "g": 10,
    "b": 70
  },
  "hsl": {
    "h": 273,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24037,
    "c": 0.10448,
    "h": 304.4
  },
  "luminance": 0.01173
}

Semantic roles & 50–950 ramp

primary
#2B0A46
secondary
#518329
accent
#F2368B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2B0A46

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

Preview Lab → · Contrast checker → · Palette generator →

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