#2B0A44#2B0A44

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

Color values

HEX#2B0A44
RGBrgb(43, 10, 68)
HSLhsl(274, 74%, 15%)
HSVhsv(274, 85%, 27%)
CMYKcmyk(36.8%, 85.3%, 0%, 73.3%)
CIE-LABlab(10.17, 28.57, -29.15)
CIE-LCHlch(10.17, 40.82, 314.42°)
OKLaboklab(23.85% 0.0596 -0.083)
OKLCHoklch(23.85% 0.102 305.7)
XYZxyz(2.1480, 1.1480, 5.5762)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0A44 #23440A
analogous
#0E0A44 #2B0A44 #440A40
triadic
#2B0A44 #442B0A #0A442B
tetradic
#2B0A44 #440E0A #23440A #0A4044
square
#2B0A44 #440E0A #23440A #0A4044
split-complementary
#2B0A44 #40440A #0A440E
monochromatic
#11041B #11041B #2B0A44 #4D1279 #6E1AAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B0A44#FFFFFF#000000##FFFFFF
##2B0A441.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)
#001B46
Deuteranopia (green-blind)
#001C43
Tritanopia (blue-blind)
#261926
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2b0a44;
/* rgb */ color: rgb(43, 10, 68);
/* oklch */ color: oklch(23.8% 0.102 305.7);
Tailwind
colors: {
  custom: {
    50: '#684d78',
    500: '#2b0a44',
    950: '#000000',
  },
}
SCSS
$custom: #2b0a44;
$custom-light: #684d78;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0a44",
  "rgb": {
    "r": 43,
    "g": 10,
    "b": 68
  },
  "hsl": {
    "h": 274.138,
    "s": 74.359,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23847,
    "c": 0.10214,
    "h": 305.7
  },
  "luminance": 0.01148
}

Semantic roles & 50–950 ramp

primary
#2B0A44
secondary
#4F8129
accent
#F13787
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060109
muted
#7A777B

Preview Lab

Preview with #2B0A44

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

Preview Lab → · Contrast checker → · Palette generator →

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