#2B1069#2B1069

#2B1069 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.140 H 287.5°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#2B1069
RGBrgb(43, 16, 105)
HSLhsl(258, 74%, 24%)
HSVhsv(258, 85%, 41%)
CMYKcmyk(59%, 84.8%, 0%, 58.8%)
CIE-LABlab(14.97, 36.41, -46.41)
CIE-LCHlch(14.97, 58.98, 308.12°)
OKLaboklab(28.36% 0.042 -0.1336)
OKLCHoklch(28.36% 0.14 287.5)
XYZxyz(3.7306, 1.9039, 13.5328)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1069 #4E6910
analogous
#102169 #2B1069 #571069
triadic
#2B1069 #692B10 #10692B
tetradic
#2B1069 #691021 #4E6910 #106957
square
#2B1069 #691021 #4E6910 #106957
split-complementary
#2B1069 #695710 #216910
monochromatic
#0B041B #150834 #2B1069 #41189E #5620D3

Accessibility & contrast

On white

15.21
#2B1069 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#2B1069 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1069
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1069#FFFFFF#000000##FFFFFF
##2B10691.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286B
Deuteranopia (green-blind)
#002367
Tritanopia (blue-blind)
#0F2B3D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2b1069;
/* rgb */ color: rgb(43, 16, 105);
/* oklch */ color: oklch(28.4% 0.140 287.5);
Tailwind
colors: {
  custom: {
    50: '#6d5395',
    500: '#2b1069',
    950: '#000000',
  },
}
SCSS
$custom: #2b1069;
$custom-light: #6d5395;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1069",
  "rgb": {
    "r": 43,
    "g": 16,
    "b": 105
  },
  "hsl": {
    "h": 258.202,
    "s": 73.554,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28363,
    "c": 0.14005,
    "h": 287.5
  },
  "luminance": 0.01904
}

Semantic roles & 50–950 ramp

primary
#2B1069
secondary
#80A134
accent
#F038B8
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08020D
muted
#7A787E

Preview Lab

Preview with #2B1069

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

Preview Lab → · Contrast checker → · Palette generator →

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