#2F0E55#2F0E55

#2F0E55 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.5% C 0.118 H 299.0°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#2F0E55
RGBrgb(47, 14, 85)
HSLhsl(268, 72%, 19%)
HSVhsv(268, 84%, 33%)
CMYKcmyk(44.7%, 83.5%, 0%, 66.7%)
CIE-LABlab(13.07, 32.15, -36.15)
CIE-LCHlch(13.07, 48.38, 311.65°)
OKLaboklab(26.52% 0.0574 -0.1034)
OKLCHoklch(26.52% 0.118 299)
XYZxyz(2.9686, 1.5742, 8.7400)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F0E55 #34550E
analogous
#0E1155 #2F0E55 #530E55
triadic
#2F0E55 #552F0E #0E552F
tetradic
#2F0E55 #550E11 #34550E #0E5553
square
#2F0E55 #550E11 #34550E #0E5553
split-complementary
#2F0E55 #55530E #11550E
monochromatic
#0F041A #120520 #2F0E55 #4C178A #691FBE

Accessibility & contrast

On white

15.97
#2F0E55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2F0E55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F0E55
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F0E55#FFFFFF#000000##FFFFFF
##2F0E551.0015.971.3115.97
#FFFFFF15.971.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002257
Deuteranopia (green-blind)
#002154
Tritanopia (blue-blind)
#262131
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #2f0e55;
/* rgb */ color: rgb(47, 14, 85);
/* oklch */ color: oklch(26.5% 0.118 299.0);
Tailwind
colors: {
  custom: {
    50: '#6c5186',
    500: '#2f0e55',
    950: '#000000',
  },
}
SCSS
$custom: #2f0e55;
$custom-light: #6c5186;
$custom-dark: #000000;
JSON
{
  "hex": "#2f0e55",
  "rgb": {
    "r": 47,
    "g": 14,
    "b": 85
  },
  "hsl": {
    "h": 267.887,
    "s": 71.717,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26521,
    "c": 0.11826,
    "h": 299
  },
  "luminance": 0.01574
}

Semantic roles & 50–950 ramp

primary
#2F0E55
secondary
#638F30
accent
#EE399A
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2F0E55

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

Preview Lab → · Contrast checker → · Palette generator →

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