#2B063F#2B063F

#2B063F is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.102 H 310.0°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#2B063F
RGBrgb(43, 6, 63)
HSLhsl(279, 83%, 14%)
HSVhsv(279, 90%, 25%)
CMYKcmyk(31.7%, 90.5%, 0%, 75.3%)
CIE-LABlab(9.01, 29.25, -27.48)
CIE-LCHlch(9.01, 40.14, 316.79°)
OKLaboklab(22.89% 0.0655 -0.078)
OKLCHoklch(22.89% 0.102 310)
XYZxyz(1.9584, 1.0028, 4.7920)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B063F #1A3F06
analogous
#0E063F #2B063F #3F0636
triadic
#2B063F #3F2B06 #063F2B
tetradic
#2B063F #3F0E06 #1A3F06 #06363F
square
#2B063F #3F0E06 #1A3F06 #06363F
split-complementary
#2B063F #363F06 #063F0E
monochromatic
#13031C #13031C #2B063F #510B77 #7711AF

Accessibility & contrast

On white

17.49
#2B063F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2B063F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B063F
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B063F#FFFFFF#000000##FFFFFF
##2B063F1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001841
Deuteranopia (green-blind)
#001A3E
Tritanopia (blue-blind)
#281423
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2b063f;
/* rgb */ color: rgb(43, 6, 63);
/* oklch */ color: oklch(22.9% 0.102 310.0);
Tailwind
colors: {
  custom: {
    50: '#674b74',
    500: '#2b063f',
    950: '#000000',
  },
}
SCSS
$custom: #2b063f;
$custom-light: #674b74;
$custom-dark: #000000;
JSON
{
  "hex": "#2b063f",
  "rgb": {
    "r": 43,
    "g": 6,
    "b": 63
  },
  "hsl": {
    "h": 278.947,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.22893,
    "c": 0.10188,
    "h": 310
  },
  "luminance": 0.01003
}

Semantic roles & 50–950 ramp

primary
#2B063F
secondary
#437F22
accent
#F92F76
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2B063F

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

Preview Lab → · Contrast checker → · Palette generator →

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