#2B0743#2B0743

#2B0743 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.105 H 307.0°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#2B0743
RGBrgb(43, 7, 67)
HSLhsl(276, 81%, 15%)
HSVhsv(276, 90%, 26%)
CMYKcmyk(35.8%, 89.6%, 0%, 73.7%)
CIE-LABlab(9.57, 29.76, -29.43)
CIE-LCHlch(9.57, 41.85, 315.33°)
OKLaboklab(23.4% 0.0631 -0.0837)
OKLCHoklch(23.4% 0.105 307)
XYZxyz(2.0851, 1.0708, 5.4059)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0743 #1F4307
analogous
#0D0743 #2B0743 #43073D
triadic
#2B0743 #432B07 #07432B
tetradic
#2B0743 #430D07 #1F4307 #073D43
square
#2B0743 #430D07 #1F4307 #073D43
split-complementary
#2B0743 #3D4307 #07430D
monochromatic
#12031C #12031C #2B0743 #4F0D7A #7213B2

Accessibility & contrast

On white

17.30
#2B0743 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2B0743 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0743
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0743#FFFFFF#000000##FFFFFF
##2B07431.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001945
Deuteranopia (green-blind)
#001B42
Tritanopia (blue-blind)
#271725
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b0743;
/* rgb */ color: rgb(43, 7, 67);
/* oklch */ color: oklch(23.4% 0.105 307.0);
Tailwind
colors: {
  custom: {
    50: '#684c78',
    500: '#2b0743',
    950: '#000000',
  },
}
SCSS
$custom: #2b0743;
$custom-light: #684c78;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0743",
  "rgb": {
    "r": 43,
    "g": 7,
    "b": 67
  },
  "hsl": {
    "h": 276,
    "s": 81.081,
    "l": 14.51
  },
  "oklch": {
    "l": 0.23397,
    "c": 0.10488,
    "h": 307
  },
  "luminance": 0.01071
}

Semantic roles & 50–950 ramp

primary
#2B0743
secondary
#498224
accent
#F73080
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2B0743

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

Preview Lab → · Contrast checker → · Palette generator →

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