#2B0F53#2B0F53

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

Color values

HEX#2B0F53
RGBrgb(43, 15, 83)
HSLhsl(265, 69%, 19%)
HSVhsv(265, 82%, 33%)
CMYKcmyk(48.2%, 81.9%, 0%, 67.5%)
CIE-LABlab(12.48, 30.34, -35.78)
CIE-LCHlch(12.48, 46.91, 310.29°)
OKLaboklab(25.92% 0.0503 -0.1025)
OKLCHoklch(25.92% 0.114 296.1)
XYZxyz(2.7280, 1.4797, 8.3238)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B0F53 #37530F
analogous
#0F1553 #2B0F53 #4D0F53
triadic
#2B0F53 #532B0F #0F532B
tetradic
#2B0F53 #530F15 #37530F #0F534D
square
#2B0F53 #530F15 #37530F #0F534D
split-complementary
#2B0F53 #534D0F #15530F
monochromatic
#0D051A #10061F #2B0F53 #461887 #6122BB

Accessibility & contrast

On white

16.20
#2B0F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B0F53
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B0F53#FFFFFF#000000##FFFFFF
##2B0F531.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002155
Deuteranopia (green-blind)
#002052
Tritanopia (blue-blind)
#202130
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2b0f53;
/* rgb */ color: rgb(43, 15, 83);
/* oklch */ color: oklch(25.9% 0.114 296.1);
Tailwind
colors: {
  custom: {
    50: '#695184',
    500: '#2b0f53',
    950: '#000000',
  },
}
SCSS
$custom: #2b0f53;
$custom-light: #695184;
$custom-dark: #000000;
JSON
{
  "hex": "#2b0f53",
  "rgb": {
    "r": 43,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 264.706,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25918,
    "c": 0.11414,
    "h": 296.1
  },
  "luminance": 0.0148
}

Semantic roles & 50–950 ramp

primary
#2B0F53
secondary
#678D31
accent
#EC3CA3
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2B0F53

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

Preview Lab → · Contrast checker → · Palette generator →

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