#2B0746#2B0746

#2B0746 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.7% C 0.108 H 305.1°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#2B0746
RGBrgb(43, 7, 70)
HSLhsl(274, 82%, 15%)
HSVhsv(274, 90%, 27%)
CMYKcmyk(38.6%, 90%, 0%, 72.5%)
CIE-LABlab(9.86, 30.55, -31.06)
CIE-LCHlch(9.86, 43.57, 314.52°)
OKLaboklab(23.69% 0.0622 -0.0885)
OKLCHoklch(23.69% 0.108 305.1)
XYZxyz(2.1775, 1.1078, 5.8923)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0746 #224607
analogous
#0C0746 #2B0746 #460741
triadic
#2B0746 #462B07 #07462B
tetradic
#2B0746 #460C07 #224607 #074146
square
#2B0746 #460C07 #224607 #074146
split-complementary
#2B0746 #414607 #07460C
monochromatic
#11031C #11031C #2B0746 #4D0D7E #6F12B5

Accessibility & contrast

On white

17.19
#2B0746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2B0746 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0746
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0746#FFFFFF#000000##FFFFFF
##2B07461.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A48
Deuteranopia (green-blind)
#001B45
Tritanopia (blue-blind)
#261827
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b0746;
/* rgb */ color: rgb(43, 7, 70);
/* oklch */ color: oklch(23.7% 0.108 305.1);
Tailwind
colors: {
  custom: {
    50: '#684c7a',
    500: '#2b0746',
    950: '#000000',
  },
}
SCSS
$custom: #2b0746;
$custom-light: #684c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0746",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 70
  },
  "hsl": {
    "h": 274.286,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.2369,
    "c": 0.1082,
    "h": 305.1
  },
  "luminance": 0.01108
}

Semantic roles & 50–950 ramp

primary
#2B0746
secondary
#4D8524
accent
#F83086
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2B0746

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

Preview Lab → · Contrast checker → · Palette generator →

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