#2B0744#2B0744

#2B0744 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.106 H 306.4°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#2B0744
RGBrgb(43, 7, 68)
HSLhsl(275, 81%, 15%)
HSVhsv(275, 90%, 27%)
CMYKcmyk(36.8%, 89.7%, 0%, 73.3%)
CIE-LABlab(9.66, 30.02, -29.98)
CIE-LCHlch(9.66, 42.43, 315.05°)
OKLaboklab(23.49% 0.0628 -0.0853)
OKLCHoklch(23.49% 0.106 306.4)
XYZxyz(2.1154, 1.0829, 5.5653)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0744 #204407
analogous
#0D0744 #2B0744 #44073F
triadic
#2B0744 #442B07 #07442B
tetradic
#2B0744 #440D07 #204407 #073F44
square
#2B0744 #440D07 #204407 #073F44
split-complementary
#2B0744 #3F4407 #07440D
monochromatic
#12031C #12031C #2B0744 #4E0D7B #7112B3

Accessibility & contrast

On white

17.26
#2B0744 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0744
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0744#FFFFFF#000000##FFFFFF
##2B07441.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A46
Deuteranopia (green-blind)
#001B43
Tritanopia (blue-blind)
#271726
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b0744;
/* rgb */ color: rgb(43, 7, 68);
/* oklch */ color: oklch(23.5% 0.106 306.4);
Tailwind
colors: {
  custom: {
    50: '#684c78',
    500: '#2b0744',
    950: '#000000',
  },
}
SCSS
$custom: #2b0744;
$custom-light: #684c78;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0744",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 68
  },
  "hsl": {
    "h": 275.41,
    "s": 81.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.23494,
    "c": 0.10598,
    "h": 306.4
  },
  "luminance": 0.01083
}

Semantic roles & 50–950 ramp

primary
#2B0744
secondary
#4B8324
accent
#F83082
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2B0744

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

Preview Lab → · Contrast checker → · Palette generator →

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