#2A0F53#2A0F53

#2A0F53 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.8% C 0.114 H 295.2°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#2A0F53
RGBrgb(42, 15, 83)
HSLhsl(264, 69%, 19%)
HSVhsv(264, 82%, 33%)
CMYKcmyk(49.4%, 81.9%, 0%, 67.5%)
CIE-LABlab(12.34, 30.15, -36.01)
CIE-LCHlch(12.34, 46.97, 309.94°)
OKLaboklab(25.79% 0.0485 -0.1032)
OKLCHoklch(25.79% 0.114 295.2)
XYZxyz(2.6866, 1.4584, 8.3219)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0F53 #38530F
analogous
#0F1653 #2A0F53 #4C0F53
triadic
#2A0F53 #532A0F #0F532A
tetradic
#2A0F53 #530F16 #38530F #0F534C
square
#2A0F53 #530F16 #38530F #0F534C
split-complementary
#2A0F53 #534C0F #16530F
monochromatic
#0D051A #10061F #2A0F53 #441887 #5E22BB

Accessibility & contrast

On white

16.26
#2A0F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2A0F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0F53
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0F53#FFFFFF#000000##FFFFFF
##2A0F531.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002155
Deuteranopia (green-blind)
#001F52
Tritanopia (blue-blind)
#1E2130
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2a0f53;
/* rgb */ color: rgb(42, 15, 83);
/* oklch */ color: oklch(25.8% 0.114 295.2);
Tailwind
colors: {
  custom: {
    50: '#695084',
    500: '#2a0f53',
    950: '#000000',
  },
}
SCSS
$custom: #2a0f53;
$custom-light: #695084;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0f53",
  "rgb": {
    "r": 42,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 263.824,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2579,
    "c": 0.11404,
    "h": 295.2
  },
  "luminance": 0.01458
}

Semantic roles & 50–950 ramp

primary
#2A0F53
secondary
#688D31
accent
#EC3CA6
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2A0F53

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

Preview Lab → · Contrast checker → · Palette generator →

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