#2B1975#2B1975

#2B1975 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.146 H 282.6°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#2B1975
RGBrgb(43, 25, 117)
HSLhsl(252, 65%, 28%)
HSVhsv(252, 79%, 46%)
CMYKcmyk(63.2%, 78.6%, 0%, 54.1%)
CIE-LABlab(17.89, 35.54, -49.41)
CIE-LCHlch(17.89, 60.86, 305.72°)
OKLaboklab(30.79% 0.0319 -0.1425)
OKLCHoklch(30.79% 0.146 282.6)
XYZxyz(4.5538, 2.4929, 17.0674)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1975 #637519
analogous
#193575 #2B1975 #591975
triadic
#2B1975 #752B19 #19752B
tetradic
#2B1975 #751935 #637519 #197559
square
#2B1975 #751935 #637519 #197559
split-complementary
#2B1975 #755919 #357519
monochromatic
#090519 #180E43 #2B1975 #3E24A7 #5435D4

Accessibility & contrast

On white

14.01
#2B1975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#2B1975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1975
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1975#FFFFFF#000000##FFFFFF
##2B19751.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002973
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #2b1975;
/* rgb */ color: rgb(43, 25, 117);
/* oklch */ color: oklch(30.8% 0.146 282.6);
Tailwind
colors: {
  custom: {
    50: '#6f589e',
    500: '#2b1975',
    950: '#000000',
  },
}
SCSS
$custom: #2b1975;
$custom-light: #6f589e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1975",
  "rgb": {
    "r": 43,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 251.739,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30786,
    "c": 0.14599,
    "h": 282.6
  },
  "luminance": 0.02493
}

Semantic roles & 50–950 ramp

primary
#2B1975
secondary
#95AA40
accent
#E840C7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #2B1975

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

Preview Lab → · Contrast checker → · Palette generator →

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