#2B0F68#2B0F68

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

Color values

HEX#2B0F68
RGBrgb(43, 15, 104)
HSLhsl(259, 75%, 23%)
HSVhsv(259, 86%, 41%)
CMYKcmyk(58.7%, 85.6%, 0%, 59.2%)
CIE-LABlab(14.70, 36.57, -46.19)
CIE-LCHlch(14.70, 58.92, 308.37°)
OKLaboklab(28.14% 0.0431 -0.133)
OKLCHoklch(28.14% 0.14 288)
XYZxyz(3.6650, 1.8545, 13.2589)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0F68 #4C680F
analogous
#0F2068 #2B0F68 #570F68
triadic
#2B0F68 #682B0F #0F682B
tetradic
#2B0F68 #680F20 #4C680F #0F6857
square
#2B0F68 #680F20 #4C680F #0F6857
split-complementary
#2B0F68 #68570F #20680F
monochromatic
#0B041B #150733 #2B0F68 #41179D #571ED3

Accessibility & contrast

On white

15.32
#2B0F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#2B0F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0F68
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0F68#FFFFFF#000000##FFFFFF
##2B0F681.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276A
Deuteranopia (green-blind)
#002366
Tritanopia (blue-blind)
#102A3C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2b0f68;
/* rgb */ color: rgb(43, 15, 104);
/* oklch */ color: oklch(28.1% 0.140 288.0);
Tailwind
colors: {
  custom: {
    50: '#6d5294',
    500: '#2b0f68',
    950: '#000000',
  },
}
SCSS
$custom: #2b0f68;
$custom-light: #6d5294;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0f68",
  "rgb": {
    "r": 43,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 258.876,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28142,
    "c": 0.13977,
    "h": 288
  },
  "luminance": 0.01855
}

Semantic roles & 50–950 ramp

primary
#2B0F68
secondary
#7EA132
accent
#F136B7
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08020D
muted
#7A787E

Preview Lab

Preview with #2B0F68

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

Preview Lab → · Contrast checker → · Palette generator →

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