#2F134C#2F134C

#2F134C is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.3% C 0.101 H 302.5°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#2F134C
RGBrgb(47, 19, 76)
HSLhsl(269, 60%, 19%)
HSVhsv(269, 75%, 30%)
CMYKcmyk(38.2%, 75%, 0%, 70.2%)
CIE-LABlab(13.18, 26.96, -29.81)
CIE-LCHlch(13.18, 40.19, 312.12°)
OKLaboklab(26.34% 0.054 -0.0848)
OKLCHoklch(26.34% 0.101 302.5)
XYZxyz(2.7094, 1.5919, 7.0006)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F134C #304C13
analogous
#13134C #2F134C #4B134C
triadic
#2F134C #4C2F13 #134C2F
tetradic
#2F134C #4C1313 #304C13 #134C4B
square
#2F134C #4C1313 #304C13 #134C4B
split-complementary
#2F134C #4C4B13 #134C13
monochromatic
#0F0618 #11071B #2F134C #4D1F7D #6C2BAE

Accessibility & contrast

On white

15.93
#2F134C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F134C
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F134C#FFFFFF#000000##FFFFFF
##2F134C1.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214E
Deuteranopia (green-blind)
#00224B
Tritanopia (blue-blind)
#29202D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2f134c;
/* rgb */ color: rgb(47, 19, 76);
/* oklch */ color: oklch(26.3% 0.101 302.5);
Tailwind
colors: {
  custom: {
    50: '#6b537e',
    500: '#2f134c',
    950: '#000000',
  },
}
SCSS
$custom: #2f134c;
$custom-light: #6b537e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f134c",
  "rgb": {
    "r": 47,
    "g": 19,
    "b": 76
  },
  "hsl": {
    "h": 269.474,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26341,
    "c": 0.10052,
    "h": 302.5
  },
  "luminance": 0.01592
}

Semantic roles & 50–950 ramp

primary
#2F134C
secondary
#5E8536
accent
#E34595
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2F134C

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

Preview Lab → · Contrast checker → · Palette generator →

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