#2F1969#2F1969

#2F1969 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.130 H 288.5°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#2F1969
RGBrgb(47, 25, 105)
HSLhsl(257, 62%, 25%)
HSVhsv(257, 76%, 41%)
CMYKcmyk(55.2%, 76.2%, 0%, 58.8%)
CIE-LABlab(17.08, 32.32, -42.93)
CIE-LCHlch(17.08, 53.73, 306.98°)
OKLaboklab(29.95% 0.0414 -0.1233)
OKLCHoklch(29.95% 0.13 288.5)
XYZxyz(4.0690, 2.3193, 13.5951)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F1969 #536919
analogous
#192B69 #2F1969 #571969
triadic
#2F1969 #692F19 #19692F
tetradic
#2F1969 #69192B #536919 #196957
square
#2F1969 #69192B #536919 #196957
split-complementary
#2F1969 #695719 #2B6919
monochromatic
#0B0619 #190D38 #2F1969 #45259A #5B31CC

Accessibility & contrast

On white

14.34
#2F1969 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2F1969 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F1969
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F1969#FFFFFF#000000##FFFFFF
##2F19691.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6B
Deuteranopia (green-blind)
#002867
Tritanopia (blue-blind)
#192E3F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2f1969;
/* rgb */ color: rgb(47, 25, 105);
/* oklch */ color: oklch(29.9% 0.130 288.5);
Tailwind
colors: {
  custom: {
    50: '#6f5895',
    500: '#2f1969',
    950: '#000000',
  },
}
SCSS
$custom: #2f1969;
$custom-light: #6f5895;
$custom-dark: #000000;
JSON
{
  "hex": "#2f1969",
  "rgb": {
    "r": 47,
    "g": 25,
    "b": 105
  },
  "hsl": {
    "h": 256.5,
    "s": 61.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29947,
    "c": 0.1301,
    "h": 288.5
  },
  "luminance": 0.0232
}

Semantic roles & 50–950 ramp

primary
#2F1969
secondary
#849F3F
accent
#E543B8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #2F1969

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

Preview Lab → · Contrast checker → · Palette generator →

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