#2B0A3F#2B0A3F

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

Color values

HEX#2B0A3F
RGBrgb(43, 10, 63)
HSLhsl(277, 73%, 14%)
HSVhsv(277, 84%, 25%)
CMYKcmyk(31.7%, 84.1%, 0%, 75.3%)
CIE-LABlab(9.72, 27.23, -26.34)
CIE-LCHlch(9.72, 37.89, 315.95°)
OKLaboklab(23.39% 0.0608 -0.0747)
OKLCHoklch(23.39% 0.096 309.1)
XYZxyz(2.0018, 1.0896, 4.8065)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0A3F #1E3F0A
analogous
#100A3F #2B0A3F #3F0A39
triadic
#2B0A3F #3F2B0A #0A3F2B
tetradic
#2B0A3F #3F100A #1E3F0A #0A393F
square
#2B0A3F #3F100A #1E3F0A #0A393F
split-complementary
#2B0A3F #393F0A #0A3F10
monochromatic
#12041A #12041A #2B0A3F #4F1274 #731BA9

Accessibility & contrast

On white

17.24
#2B0A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0A3F
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0A3F#FFFFFF#000000##FFFFFF
##2B0A3F1.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A40
Deuteranopia (green-blind)
#011B3E
Tritanopia (blue-blind)
#281624
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2b0a3f;
/* rgb */ color: rgb(43, 10, 63);
/* oklch */ color: oklch(23.4% 0.096 309.1);
Tailwind
colors: {
  custom: {
    50: '#674d74',
    500: '#2b0a3f',
    950: '#000000',
  },
}
SCSS
$custom: #2b0a3f;
$custom-light: #674d74;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0a3f",
  "rgb": {
    "r": 43,
    "g": 10,
    "b": 63
  },
  "hsl": {
    "h": 277.358,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.23387,
    "c": 0.0963,
    "h": 309.1
  },
  "luminance": 0.0109
}

Semantic roles & 50–950 ramp

primary
#2B0A3F
secondary
#487C29
accent
#EF387D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2B0A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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