#2B103F#2B103F

#2B103F is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.087 H 307.5°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#2B103F
RGBrgb(43, 16, 63)
HSLhsl(274, 59%, 15%)
HSVhsv(274, 75%, 25%)
CMYKcmyk(31.7%, 74.6%, 0%, 75.3%)
CIE-LABlab(10.87, 24.00, -24.48)
CIE-LCHlch(10.87, 34.28, 314.43°)
OKLaboklab(24.21% 0.0531 -0.0693)
OKLCHoklch(24.21% 0.087 307.5)
XYZxyz(2.0786, 1.2431, 4.8321)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B103F #243F10
analogous
#13103F #2B103F #3F103B
triadic
#2B103F #3F2B10 #103F2B
tetradic
#2B103F #3F1310 #243F10 #103B3F
square
#2B103F #3F1310 #243F10 #103B3F
split-complementary
#2B103F #3B3F10 #103F13
monochromatic
#110618 #110618 #2B103F #4C1C70 #6E29A1

Accessibility & contrast

On white

16.82
#2B103F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#2B103F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B103F
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B103F#FFFFFF#000000##FFFFFF
##2B103F1.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C40
Deuteranopia (green-blind)
#071D3E
Tritanopia (blue-blind)
#281A25
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2b103f;
/* rgb */ color: rgb(43, 16, 63);
/* oklch */ color: oklch(24.2% 0.087 307.5);
Tailwind
colors: {
  custom: {
    50: '#675074',
    500: '#2b103f',
    950: '#000000',
  },
}
SCSS
$custom: #2b103f;
$custom-light: #675074;
$custom-dark: #000000;
JSON
{
  "hex": "#2b103f",
  "rgb": {
    "r": 43,
    "g": 16,
    "b": 63
  },
  "hsl": {
    "h": 274.468,
    "s": 59.494,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24211,
    "c": 0.08731,
    "h": 307.5
  },
  "luminance": 0.01243
}

Semantic roles & 50–950 ramp

primary
#2B103F
secondary
#507932
accent
#E34588
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #2B103F

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

Preview Lab → · Contrast checker → · Palette generator →

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