#2F094A#2F094A

#2F094A is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.111 H 306.1°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#2F094A
RGBrgb(47, 9, 74)
HSLhsl(275, 78%, 16%)
HSVhsv(275, 88%, 29%)
CMYKcmyk(36.5%, 87.8%, 0%, 71%)
CIE-LABlab(11.23, 31.42, -31.59)
CIE-LCHlch(11.23, 44.56, 314.85°)
OKLaboklab(24.91% 0.0655 -0.0899)
OKLCHoklch(24.91% 0.111 306.1)
XYZxyz(2.5057, 1.2941, 6.5950)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F094A #244A09
analogous
#0F094A #2F094A #4A0945
triadic
#2F094A #4A2F09 #094A2F
tetradic
#2F094A #4A0F09 #244A09 #09454A
square
#2F094A #4A0F09 #244A09 #09454A
split-complementary
#2F094A #454A09 #094A0F
monochromatic
#11031B #11031B #2F094A #521081 #7416B7

Accessibility & contrast

On white

16.68
#2F094A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2F094A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F094A
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F094A#FFFFFF#000000##FFFFFF
##2F094A1.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4C
Deuteranopia (green-blind)
#001E49
Tritanopia (blue-blind)
#2A1A2A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2f094a;
/* rgb */ color: rgb(47, 9, 74);
/* oklch */ color: oklch(24.9% 0.111 306.1);
Tailwind
colors: {
  custom: {
    50: '#6b4e7d',
    500: '#2f094a',
    950: '#000000',
  },
}
SCSS
$custom: #2f094a;
$custom-light: #6b4e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f094a",
  "rgb": {
    "r": 47,
    "g": 9,
    "b": 74
  },
  "hsl": {
    "h": 275.077,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.24909,
    "c": 0.11127,
    "h": 306.1
  },
  "luminance": 0.01294
}

Semantic roles & 50–950 ramp

primary
#2F094A
secondary
#4F8727
accent
#F53384
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #2F094A

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

Preview Lab → · Contrast checker → · Palette generator →

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