#2F0A45#2F0A45

#2F0A45 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.104 H 309.1°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#2F0A45
RGBrgb(47, 10, 69)
HSLhsl(278, 75%, 15%)
HSVhsv(278, 86%, 27%)
CMYKcmyk(31.9%, 85.5%, 0%, 72.9%)
CIE-LABlab(10.93, 29.69, -28.59)
CIE-LCHlch(10.93, 41.22, 316.08°)
OKLaboklab(24.55% 0.0659 -0.0811)
OKLCHoklch(24.55% 0.105 309.1)
XYZxyz(2.3548, 1.2511, 5.7465)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0A45 #20450A
analogous
#110A45 #2F0A45 #450A3D
triadic
#2F0A45 #452F0A #0A452F
tetradic
#2F0A45 #45110A #20450A #0A3D45
square
#2F0A45 #45110A #20450A #0A3D45
split-complementary
#2F0A45 #3D450A #0A4511
monochromatic
#12041B #12041B #2F0A45 #53127A #7819B0

Accessibility & contrast

On white

16.80
#2F0A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F0A45
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0A45#FFFFFF#000000##FFFFFF
##2F0A451.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C47
Deuteranopia (green-blind)
#001E44
Tritanopia (blue-blind)
#2C1827
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #2f0a45;
/* rgb */ color: rgb(47, 10, 69);
/* oklch */ color: oklch(24.6% 0.104 309.1);
Tailwind
colors: {
  custom: {
    50: '#6b4e79',
    500: '#2f0a45',
    950: '#000000',
  },
}
SCSS
$custom: #2f0a45;
$custom-light: #6b4e79;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0a45",
  "rgb": {
    "r": 47,
    "g": 10,
    "b": 69
  },
  "hsl": {
    "h": 277.627,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.24551,
    "c": 0.1045,
    "h": 309.1
  },
  "luminance": 0.01251
}

Semantic roles & 50–950 ramp

primary
#2F0A45
secondary
#4A8229
accent
#F1367C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #2F0A45

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

Preview Lab → · Contrast checker → · Palette generator →

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