#2B0E4F#2B0E4F

#2B0E4F is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.110 H 298.3°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#2B0E4F
RGBrgb(43, 14, 79)
HSLhsl(267, 70%, 18%)
HSVhsv(267, 82%, 31%)
CMYKcmyk(45.6%, 82.3%, 0%, 69%)
CIE-LABlab(11.90, 29.68, -33.98)
CIE-LCHlch(11.90, 45.12, 311.14°)
OKLaboklab(25.39% 0.0524 -0.0972)
OKLCHoklch(25.39% 0.11 298.3)
XYZxyz(2.5642, 1.3921, 7.5292)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0E4F #324F0E
analogous
#0E124F #2B0E4F #4B0E4F
triadic
#2B0E4F #4F2B0E #0E4F2B
tetradic
#2B0E4F #4F0E12 #324F0E #0E4F4B
square
#2B0E4F #4F0E12 #324F0E #0E4F4B
split-complementary
#2B0E4F #4F4B0E #124F0E
monochromatic
#0E051A #0F051B #2B0E4F #471783 #6420B7

Accessibility & contrast

On white

16.43
#2B0E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#2B0E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B0E4F
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0E4F#FFFFFF#000000##FFFFFF
##2B0E4F1.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F51
Deuteranopia (green-blind)
#001F4E
Tritanopia (blue-blind)
#221F2E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2b0e4f;
/* rgb */ color: rgb(43, 14, 79);
/* oklch */ color: oklch(25.4% 0.110 298.3);
Tailwind
colors: {
  custom: {
    50: '#695081',
    500: '#2b0e4f',
    950: '#000000',
  },
}
SCSS
$custom: #2b0e4f;
$custom-light: #695081;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0e4f",
  "rgb": {
    "r": 43,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 266.769,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.25394,
    "c": 0.1104,
    "h": 298.3
  },
  "luminance": 0.01392
}

Semantic roles & 50–950 ramp

primary
#2B0E4F
secondary
#618A2F
accent
#ED3B9D
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2B0E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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