#2B0F58#2B0F58

#2B0F58 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.4% C 0.120 H 293.9°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#2B0F58
RGBrgb(43, 15, 88)
HSLhsl(263, 71%, 20%)
HSVhsv(263, 83%, 35%)
CMYKcmyk(51.1%, 83%, 0%, 65.5%)
CIE-LABlab(12.98, 31.82, -38.35)
CIE-LCHlch(12.98, 49.83, 309.68°)
OKLaboklab(26.43% 0.0487 -0.11)
OKLCHoklch(26.43% 0.12 293.9)
XYZxyz(2.9281, 1.5597, 9.3774)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0F58 #3C580F
analogous
#0F1758 #2B0F58 #500F58
triadic
#2B0F58 #582B0F #0F582B
tetradic
#2B0F58 #580F17 #3C580F #0F5850
square
#2B0F58 #580F17 #3C580F #0F5850
split-complementary
#2B0F58 #58500F #17580F
monochromatic
#0D041A #110624 #2B0F58 #45188C #5E21C1

Accessibility & contrast

On white

16.01
#2B0F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2B0F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0F58
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0F58#FFFFFF#000000##FFFFFF
##2B0F581.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225A
Deuteranopia (green-blind)
#002057
Tritanopia (blue-blind)
#1D2333
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2b0f58;
/* rgb */ color: rgb(43, 15, 88);
/* oklch */ color: oklch(26.4% 0.120 293.9);
Tailwind
colors: {
  custom: {
    50: '#6a5188',
    500: '#2b0f58',
    950: '#000000',
  },
}
SCSS
$custom: #2b0f58;
$custom-light: #6a5188;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0f58",
  "rgb": {
    "r": 43,
    "g": 15,
    "b": 88
  },
  "hsl": {
    "h": 263.014,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.26426,
    "c": 0.12032,
    "h": 293.9
  },
  "luminance": 0.0156
}

Semantic roles & 50–950 ramp

primary
#2B0F58
secondary
#6D9231
accent
#EE3AA9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2B0F58

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

Preview Lab → · Contrast checker → · Palette generator →

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