#2B0648#2B0648

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

Color values

HEX#2B0648
RGBrgb(43, 6, 72)
HSLhsl(274, 85%, 15%)
HSVhsv(274, 92%, 28%)
CMYKcmyk(40.3%, 91.7%, 0%, 71.8%)
CIE-LABlab(9.89, 31.56, -32.42)
CIE-LCHlch(9.89, 45.25, 314.24°)
OKLaboklab(23.77% 0.0625 -0.0925)
OKLCHoklch(23.77% 0.112 304.1)
XYZxyz(2.2308, 1.1117, 6.2267)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0648 #234806
analogous
#0A0648 #2B0648 #480644
triadic
#2B0648 #482B06 #06482B
tetradic
#2B0648 #480A06 #234806 #064448
square
#2B0648 #480A06 #234806 #064448
split-complementary
#2B0648 #444806 #06480A
monochromatic
#11021C #11021C #2B0648 #4D0B80 #6E0FB9

Accessibility & contrast

On white

17.18
#2B0648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0648
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0648#FFFFFF#000000##FFFFFF
##2B06481.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4A
Deuteranopia (green-blind)
#001B47
Tritanopia (blue-blind)
#251828
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b0648;
/* rgb */ color: rgb(43, 6, 72);
/* oklch */ color: oklch(23.8% 0.112 304.1);
Tailwind
colors: {
  custom: {
    50: '#684b7c',
    500: '#2b0648',
    950: '#000000',
  },
}
SCSS
$custom: #2b0648;
$custom-light: #684b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0648",
  "rgb": {
    "r": 43,
    "g": 6,
    "b": 72
  },
  "hsl": {
    "h": 273.636,
    "s": 84.615,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23773,
    "c": 0.11166,
    "h": 304.1
  },
  "luminance": 0.01112
}

Semantic roles & 50–950 ramp

primary
#2B0648
secondary
#4F8723
accent
#FB2D87
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #2B0648

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

Preview Lab → · Contrast checker → · Palette generator →

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