#2F134D#2F134D

#2F134D is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.4% C 0.102 H 301.9°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#2F134D
RGBrgb(47, 19, 77)
HSLhsl(269, 60%, 19%)
HSVhsv(269, 75%, 30%)
CMYKcmyk(39%, 75.3%, 0%, 69.8%)
CIE-LABlab(13.27, 27.25, -30.36)
CIE-LCHlch(13.27, 40.79, 311.90°)
OKLaboklab(26.43% 0.0538 -0.0864)
OKLCHoklch(26.43% 0.102 301.9)
XYZxyz(2.7444, 1.6059, 7.1851)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F134D #314D13
analogous
#13144D #2F134D #4C134D
triadic
#2F134D #4D2F13 #134D2F
tetradic
#2F134D #4D1314 #314D13 #134D4C
square
#2F134D #4D1314 #314D13 #134D4C
split-complementary
#2F134D #4D4C13 #144D13
monochromatic
#0F0619 #11071C #2F134D #4D1F7E #6B2BAF

Accessibility & contrast

On white

15.89
#2F134D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#2F134D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F134D
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F134D#FFFFFF#000000##FFFFFF
##2F134D1.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224F
Deuteranopia (green-blind)
#00224C
Tritanopia (blue-blind)
#29202E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2f134d;
/* rgb */ color: rgb(47, 19, 77);
/* oklch */ color: oklch(26.4% 0.102 301.9);
Tailwind
colors: {
  custom: {
    50: '#6b537f',
    500: '#2f134d',
    950: '#000000',
  },
}
SCSS
$custom: #2f134d;
$custom-light: #6b537f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f134d",
  "rgb": {
    "r": 47,
    "g": 19,
    "b": 77
  },
  "hsl": {
    "h": 268.966,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.26429,
    "c": 0.1018,
    "h": 301.9
  },
  "luminance": 0.01606
}

Semantic roles & 50–950 ramp

primary
#2F134D
secondary
#5F8636
accent
#E44497
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2F134D

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

Preview Lab → · Contrast checker → · Palette generator →

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