#2F0A44#2F0A44

#2F0A44 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.5% C 0.103 H 309.7°. Best body text is #FFFFFF at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#2F0A44
RGBrgb(47, 10, 68)
HSLhsl(278, 74%, 15%)
HSVhsv(278, 85%, 27%)
CMYKcmyk(30.9%, 85.3%, 0%, 73.3%)
CIE-LABlab(10.84, 29.43, -28.03)
CIE-LCHlch(10.84, 40.64, 316.40°)
OKLaboklab(24.46% 0.0661 -0.0795)
OKLCHoklch(24.46% 0.103 309.7)
XYZxyz(2.3240, 1.2388, 5.5844)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A44 #1F440A
analogous
#120A44 #2F0A44 #440A3C
triadic
#2F0A44 #442F0A #0A442F
tetradic
#2F0A44 #44120A #1F440A #0A3C44
square
#2F0A44 #44120A #1F440A #0A3C44
split-complementary
#2F0A44 #3C440A #0A4412
monochromatic
#12041B #12041B #2F0A44 #541279 #791AAF

Accessibility & contrast

On white

16.83
#2F0A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0A44
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A44#FFFFFF#000000##FFFFFF
##2F0A441.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C46
Deuteranopia (green-blind)
#001E43
Tritanopia (blue-blind)
#2C1826
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f0a44;
/* rgb */ color: rgb(47, 10, 68);
/* oklch */ color: oklch(24.5% 0.103 309.7);
Tailwind
colors: {
  custom: {
    50: '#6a4e78',
    500: '#2f0a44',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a44;
$custom-light: #6a4e78;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a44",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 68
  },
  "hsl": {
    "h": 278.276,
    "s": 74.359,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24461,
    "c": 0.10338,
    "h": 309.7
  },
  "luminance": 0.01239
}

Semantic roles & 50–950 ramp

primary
#2F0A44
secondary
#498129
accent
#F1377A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #2F0A44

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

Preview Lab → · Contrast checker → · Palette generator →

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