#2B1065#2B1065

#2B1065 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.9% C 0.135 H 288.8°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#2B1065
RGBrgb(43, 16, 101)
HSLhsl(259, 73%, 23%)
HSVhsv(259, 84%, 40%)
CMYKcmyk(57.4%, 84.2%, 0%, 60.4%)
CIE-LABlab(14.53, 35.21, -44.50)
CIE-LCHlch(14.53, 56.74, 308.35°)
OKLaboklab(27.92% 0.0435 -0.128)
OKLCHoklch(27.92% 0.135 288.8)
XYZxyz(3.5298, 1.8236, 12.4754)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1065 #4A6510
analogous
#101F65 #2B1065 #551065
triadic
#2B1065 #652B10 #10652B
tetradic
#2B1065 #65101F #4A6510 #106555
square
#2B1065 #65101F #4A6510 #106555
split-complementary
#2B1065 #655510 #1F6510
monochromatic
#0B041A #150830 #2B1065 #41189A #5821CF

Accessibility & contrast

On white

15.39
#2B1065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#2B1065 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1065
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1065#FFFFFF#000000##FFFFFF
##2B10651.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002667
Deuteranopia (green-blind)
#002363
Tritanopia (blue-blind)
#13293B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2b1065;
/* rgb */ color: rgb(43, 16, 101);
/* oklch */ color: oklch(27.9% 0.135 288.8);
Tailwind
colors: {
  custom: {
    50: '#6c5292',
    500: '#2b1065',
    950: '#000000',
  },
}
SCSS
$custom: #2b1065;
$custom-light: #6c5292;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1065",
  "rgb": {
    "r": 43,
    "g": 16,
    "b": 101
  },
  "hsl": {
    "h": 259.059,
    "s": 72.65,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27924,
    "c": 0.1352,
    "h": 288.8
  },
  "luminance": 0.01824
}

Semantic roles & 50–950 ramp

primary
#2B1065
secondary
#7C9D33
accent
#EF38B5
background
#F6F4F9
surface
#ECE7F1
border
#C7C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #2B1065

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

Preview Lab → · Contrast checker → · Palette generator →

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