#2B0A3D#2B0A3D

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

Color values

HEX#2B0A3D
RGBrgb(43, 10, 61)
HSLhsl(279, 72%, 14%)
HSVhsv(279, 84%, 24%)
CMYKcmyk(29.5%, 83.6%, 0%, 76.1%)
CIE-LABlab(9.54, 26.71, -25.20)
CIE-LCHlch(9.54, 36.72, 316.67°)
OKLaboklab(23.21% 0.0612 -0.0713)
OKLCHoklch(23.21% 0.094 310.6)
XYZxyz(1.9469, 1.0676, 4.5175)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0A3D #1C3D0A
analogous
#120A3D #2B0A3D #3D0A36
triadic
#2B0A3D #3D2B0A #0A3D2B
tetradic
#2B0A3D #3D120A #1C3D0A #0A363D
square
#2B0A3D #3D120A #1C3D0A #0A363D
split-complementary
#2B0A3D #363D0A #0A3D12
monochromatic
#13041A #13041A #2B0A3D #501372 #751BA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B0A3D#FFFFFF#000000##FFFFFF
##2B0A3D1.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)
#00193E
Deuteranopia (green-blind)
#031B3C
Tritanopia (blue-blind)
#291622
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b0a3d;
/* rgb */ color: rgb(43, 10, 61);
/* oklch */ color: oklch(23.2% 0.094 310.6);
Tailwind
colors: {
  custom: {
    50: '#674d73',
    500: '#2b0a3d',
    950: '#000000',
  },
}
SCSS
$custom: #2b0a3d;
$custom-light: #674d73;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0a3d",
  "rgb": {
    "r": 43,
    "g": 10,
    "b": 61
  },
  "hsl": {
    "h": 278.824,
    "s": 71.831,
    "l": 13.922
  },
  "oklch": {
    "l": 0.23209,
    "c": 0.09397,
    "h": 310.6
  },
  "luminance": 0.01068
}

Semantic roles & 50–950 ramp

primary
#2B0A3D
secondary
#457A28
accent
#EF3979
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2B0A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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