#2B0F60#2B0F60

#2B0F60 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.3% C 0.130 H 290.7°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#2B0F60
RGBrgb(43, 15, 96)
HSLhsl(261, 73%, 22%)
HSVhsv(261, 84%, 38%)
CMYKcmyk(55.2%, 84.4%, 0%, 62.4%)
CIE-LABlab(13.82, 34.19, -42.34)
CIE-LCHlch(13.82, 54.43, 308.92°)
OKLaboklab(27.27% 0.046 -0.1217)
OKLCHoklch(27.27% 0.13 290.7)
XYZxyz(3.2778, 1.6996, 11.2194)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0F60 #44600F
analogous
#0F1C60 #2B0F60 #540F60
triadic
#2B0F60 #602B0F #0F602B
tetradic
#2B0F60 #600F1C #44600F #0F6054
square
#2B0F60 #600F1C #44600F #0F6054
split-complementary
#2B0F60 #60540F #1C600F
monochromatic
#0C041A #13072B #2B0F60 #431795 #5A20CA

Accessibility & contrast

On white

15.67
#2B0F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#2B0F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0F60
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0F60#FFFFFF#000000##FFFFFF
##2B0F601.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002562
Deuteranopia (green-blind)
#00215F
Tritanopia (blue-blind)
#182638
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2b0f60;
/* rgb */ color: rgb(43, 15, 96);
/* oklch */ color: oklch(27.3% 0.130 290.7);
Tailwind
colors: {
  custom: {
    50: '#6b518e',
    500: '#2b0f60',
    950: '#000000',
  },
}
SCSS
$custom: #2b0f60;
$custom-light: #6b518e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0f60",
  "rgb": {
    "r": 43,
    "g": 15,
    "b": 96
  },
  "hsl": {
    "h": 260.741,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.27269,
    "c": 0.13011,
    "h": 290.7
  },
  "luminance": 0.017
}

Semantic roles & 50–950 ramp

primary
#2B0F60
secondary
#759932
accent
#F038B0
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #2B0F60

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

Preview Lab → · Contrast checker → · Palette generator →

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