#230539#230539

#230539 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.094 H 305.9°. Best body text is #FFFFFF at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#230539
RGBrgb(35, 5, 57)
HSLhsl(275, 84%, 12%)
HSVhsv(275, 91%, 22%)
CMYKcmyk(38.6%, 91.2%, 0%, 77.6%)
CIE-LABlab(6.88, 26.41, -26.70)
CIE-LCHlch(6.88, 37.56, 314.69°)
OKLaboklab(20.89% 0.0553 -0.0763)
OKLCHoklch(20.89% 0.094 305.9)
XYZxyz(1.4858, 0.7613, 3.9388)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230539 #1B3905
analogous
#090539 #230539 #390535
triadic
#230539 #392305 #053923
tetradic
#230539 #390905 #1B3905 #053539
square
#230539 #390905 #1B3905 #053539
split-complementary
#230539 #353905 #053909
monochromatic
#11021C #11021C #230539 #460A71 #680FAA

Accessibility & contrast

On white

18.23
#230539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#230539 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230539
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230539#FFFFFF#000000##FFFFFF
##2305391.0018.231.1518.23
#FFFFFF18.231.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143A
Deuteranopia (green-blind)
#001538
Tritanopia (blue-blind)
#1F121F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #230539;
/* rgb */ color: rgb(35, 5, 57);
/* oklch */ color: oklch(20.9% 0.094 305.9);
Tailwind
colors: {
  custom: {
    50: '#614970',
    500: '#230539',
    950: '#000000',
  },
}
SCSS
$custom: #230539;
$custom-light: #614970;
$custom-dark: #000000;
JSON
{
  "hex": "#230539",
  "rgb": {
    "r": 35,
    "g": 5,
    "b": 57
  },
  "hsl": {
    "h": 274.615,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.20889,
    "c": 0.09428,
    "h": 305.9
  },
  "luminance": 0.00761
}

Semantic roles & 50–950 ramp

primary
#230539
secondary
#467A20
accent
#FA2E84
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #230539

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

Preview Lab → · Contrast checker → · Palette generator →

#230539 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva