#2B0749#2B0749

#2B0749 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 24.0% C 0.112 H 303.2°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#2B0749
RGBrgb(43, 7, 73)
HSLhsl(273, 83%, 16%)
HSVhsv(273, 90%, 29%)
CMYKcmyk(41.1%, 90.4%, 0%, 71.4%)
CIE-LABlab(10.16, 31.34, -32.68)
CIE-LCHlch(10.16, 45.28, 313.80°)
OKLaboklab(23.99% 0.0611 -0.0933)
OKLCHoklch(23.99% 0.112 303.2)
XYZxyz(2.2746, 1.1466, 6.4035)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0749 #254907
analogous
#0A0749 #2B0749 #490746
triadic
#2B0749 #492B07 #07492B
tetradic
#2B0749 #490A07 #254907 #074649
square
#2B0749 #490A07 #254907 #074649
split-complementary
#2B0749 #464907 #07490A
monochromatic
#10031C #10031C #2B0749 #4C0C81 #6D12B9

Accessibility & contrast

On white

17.08
#2B0749 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0749
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0749#FFFFFF#000000##FFFFFF
##2B07491.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4B
Deuteranopia (green-blind)
#001C48
Tritanopia (blue-blind)
#251929
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2b0749;
/* rgb */ color: rgb(43, 7, 73);
/* oklch */ color: oklch(24.0% 0.112 303.2);
Tailwind
colors: {
  custom: {
    50: '#684c7c',
    500: '#2b0749',
    950: '#000000',
  },
}
SCSS
$custom: #2b0749;
$custom-light: #684c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0749",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 73
  },
  "hsl": {
    "h": 272.727,
    "s": 82.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.2399,
    "c": 0.11153,
    "h": 303.2
  },
  "luminance": 0.01147
}

Semantic roles & 50–950 ramp

primary
#2B0749
secondary
#518824
accent
#F92F8B
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #2B0749

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

Preview Lab → · Contrast checker → · Palette generator →

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