#2A0F55#2A0F55

#2A0F55 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.0% C 0.117 H 294.3°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#2A0F55
RGBrgb(42, 15, 85)
HSLhsl(263, 70%, 20%)
HSVhsv(263, 82%, 33%)
CMYKcmyk(50.6%, 82.4%, 0%, 66.7%)
CIE-LABlab(12.54, 30.75, -37.04)
CIE-LCHlch(12.54, 48.14, 309.69°)
OKLaboklab(25.99% 0.0479 -0.1062)
OKLCHoklch(25.99% 0.117 294.3)
XYZxyz(2.7649, 1.4897, 8.7344)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0F55 #3A550F
analogous
#0F1755 #2A0F55 #4D0F55
triadic
#2A0F55 #552A0F #0F552A
tetradic
#2A0F55 #550F17 #3A550F #0F554D
square
#2A0F55 #550F17 #3A550F #0F554D
split-complementary
#2A0F55 #554D0F #17550F
monochromatic
#0D051A #100621 #2A0F55 #441889 #5D21BD

Accessibility & contrast

On white

16.18
#2A0F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#2A0F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0F55
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0F55#FFFFFF#000000##FFFFFF
##2A0F551.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002157
Deuteranopia (green-blind)
#001F54
Tritanopia (blue-blind)
#1D2231
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2a0f55;
/* rgb */ color: rgb(42, 15, 85);
/* oklch */ color: oklch(26.0% 0.117 294.3);
Tailwind
colors: {
  custom: {
    50: '#695186',
    500: '#2a0f55',
    950: '#000000',
  },
}
SCSS
$custom: #2a0f55;
$custom-light: #695186;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0f55",
  "rgb": {
    "r": 42,
    "g": 15,
    "b": 85
  },
  "hsl": {
    "h": 263.143,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.25993,
    "c": 0.11654,
    "h": 294.3
  },
  "luminance": 0.0149
}

Semantic roles & 50–950 ramp

primary
#2A0F55
secondary
#6B8F31
accent
#ED3BA8
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2A0F55

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

Preview Lab → · Contrast checker → · Palette generator →

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