#230D54#230D54

#230D54 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.117 H 288.8°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#230D54
RGBrgb(35, 13, 84)
HSLhsl(259, 73%, 19%)
HSVhsv(259, 85%, 33%)
CMYKcmyk(58.3%, 84.5%, 0%, 67.1%)
CIE-LABlab(11.17, 30.32, -38.65)
CIE-LCHlch(11.17, 49.12, 308.11°)
OKLaboklab(24.8% 0.0379 -0.1112)
OKLCHoklch(24.8% 0.117 288.8)
XYZxyz(2.4368, 1.2851, 8.5054)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230D54 #3E540D
analogous
#0D1A54 #230D54 #470D54
triadic
#230D54 #54230D #0D5423
tetradic
#230D54 #540D1A #3E540D #0D5447
square
#230D54 #540D1A #3E540D #0D5447
split-complementary
#230D54 #54470D #1A540D
monochromatic
#0B041A #0D051F #230D54 #391589 #4F1DBE

Accessibility & contrast

On white

16.71
#230D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#230D54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230D54
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230D54#FFFFFF#000000##FFFFFF
##230D541.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F56
Deuteranopia (green-blind)
#001C53
Tritanopia (blue-blind)
#0F2130
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #230d54;
/* rgb */ color: rgb(35, 13, 84);
/* oklch */ color: oklch(24.8% 0.117 288.8);
Tailwind
colors: {
  custom: {
    50: '#654f85',
    500: '#230d54',
    950: '#000000',
  },
}
SCSS
$custom: #230d54;
$custom-light: #654f85;
$custom-dark: #000000;
JSON
{
  "hex": "#230d54",
  "rgb": {
    "r": 35,
    "g": 13,
    "b": 84
  },
  "hsl": {
    "h": 258.592,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24795,
    "c": 0.11745,
    "h": 288.8
  },
  "luminance": 0.01285
}

Semantic roles & 50–950 ramp

primary
#230D54
secondary
#718F2E
accent
#F038B7
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #230D54

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

Preview Lab → · Contrast checker → · Palette generator →

#230D54 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva