#2F2364#2F2364

#2F2364 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.1% C 0.110 H 286.7°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#2F2364
RGBrgb(47, 35, 100)
HSLhsl(251, 48%, 26%)
HSVhsv(251, 65%, 39%)
CMYKcmyk(53%, 65%, 0%, 60.8%)
CIE-LABlab(18.91, 24.48, -36.66)
CIE-LCHlch(18.91, 44.08, 303.74°)
OKLaboklab(31.13% 0.0314 -0.105)
OKLCHoklch(31.13% 0.11 286.7)
XYZxyz(4.0729, 2.7263, 12.3657)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2364 #586423
analogous
#233864 #2F2364 #502364
triadic
#2F2364 #642F23 #23642F
tetradic
#2F2364 #642338 #586423 #236450
square
#2F2364 #642338 #586423 #236450
split-complementary
#2F2364 #645023 #386423
monochromatic
#0B0817 #1A1337 #2F2364 #443391 #5A44BE

Accessibility & contrast

On white

13.59
#2F2364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2F2364 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2364
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2364#FFFFFF#000000##FFFFFF
##2F23641.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003066
Deuteranopia (green-blind)
#002C63
Tritanopia (blue-blind)
#1C323F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2f2364;
/* rgb */ color: rgb(47, 35, 100);
/* oklch */ color: oklch(31.1% 0.110 286.7);
Tailwind
colors: {
  custom: {
    50: '#6d5e91',
    500: '#2f2364',
    950: '#000000',
  },
}
SCSS
$custom: #2f2364;
$custom-light: #6d5e91;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2364",
  "rgb": {
    "r": 47,
    "g": 35,
    "b": 100
  },
  "hsl": {
    "h": 251.077,
    "s": 48.148,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31126,
    "c": 0.10956,
    "h": 286.7
  },
  "luminance": 0.02727
}

Semantic roles & 50–950 ramp

primary
#2F2364
secondary
#8A984B
accent
#D850BF
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07040D
muted
#7A797D

Preview Lab

Preview with #2F2364

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

Preview Lab → · Contrast checker → · Palette generator →

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