#2B0A4C#2B0A4C

#2B0A4C is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.111 H 300.9°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#2B0A4C
RGBrgb(43, 10, 76)
HSLhsl(270, 77%, 17%)
HSVhsv(270, 87%, 30%)
CMYKcmyk(43.4%, 86.8%, 0%, 70.2%)
CIE-LABlab(10.94, 30.75, -33.49)
CIE-LCHlch(10.94, 45.47, 312.56°)
OKLaboklab(24.63% 0.0572 -0.0957)
OKLCHoklch(24.63% 0.111 300.9)
XYZxyz(2.4090, 1.2525, 6.9509)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0A4C #2B4C0A
analogous
#0A0A4C #2B0A4C #4C0A4C
triadic
#2B0A4C #4C2B0A #0A4C2B
tetradic
#2B0A4C #4C0A0A #2B4C0A #0A4C4C
square
#2B0A4C #4C0A0A #2B4C0A #0A4C4C
split-complementary
#2B0A4C #4C4C0A #0A4C0A
monochromatic
#0F041B #0F041B #2B0A4C #4A1182 #6818B8

Accessibility & contrast

On white

16.79
#2B0A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2B0A4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0A4C
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0A4C#FFFFFF#000000##FFFFFF
##2B0A4C1.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4E
Deuteranopia (green-blind)
#001D4B
Tritanopia (blue-blind)
#231C2B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2b0a4c;
/* rgb */ color: rgb(43, 10, 76);
/* oklch */ color: oklch(24.6% 0.111 300.9);
Tailwind
colors: {
  custom: {
    50: '#694e7f',
    500: '#2b0a4c',
    950: '#000000',
  },
}
SCSS
$custom: #2b0a4c;
$custom-light: #694e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0a4c",
  "rgb": {
    "r": 43,
    "g": 10,
    "b": 76
  },
  "hsl": {
    "h": 270,
    "s": 76.744,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24626,
    "c": 0.11148,
    "h": 300.9
  },
  "luminance": 0.01252
}

Semantic roles & 50–950 ramp

primary
#2B0A4C
secondary
#598929
accent
#F33594
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2B0A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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