#230C39#230C39

#230C39 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.083 H 303.6°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#230C39
RGBrgb(35, 12, 57)
HSLhsl(271, 65%, 14%)
HSVhsv(271, 79%, 22%)
CMYKcmyk(38.6%, 78.9%, 0%, 77.6%)
CIE-LABlab(8.27, 22.54, -24.45)
CIE-LCHlch(8.27, 33.25, 312.68°)
OKLaboklab(21.91% 0.0462 -0.0695)
OKLCHoklch(21.91% 0.083 303.6)
XYZxyz(1.5630, 0.9157, 3.9645)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230C39 #22390C
analogous
#0D0C39 #230C39 #390C38
triadic
#230C39 #39230C #0C3923
tetradic
#230C39 #390D0C #22390C #0C3839
square
#230C39 #390D0C #22390C #0C3839
split-complementary
#230C39 #38390C #0C390D
monochromatic
#100519 #100519 #230C39 #42176C #61219E

Accessibility & contrast

On white

17.75
#230C39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#230C39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230C39
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230C39#FFFFFF#000000##FFFFFF
##230C391.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183A
Deuteranopia (green-blind)
#001838
Tritanopia (blue-blind)
#1F1621
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #230c39;
/* rgb */ color: rgb(35, 12, 57);
/* oklch */ color: oklch(21.9% 0.083 303.6);
Tailwind
colors: {
  custom: {
    50: '#604c70',
    500: '#230c39',
    950: '#000000',
  },
}
SCSS
$custom: #230c39;
$custom-light: #604c70;
$custom-dark: #000000;
JSON
{
  "hex": "#230c39",
  "rgb": {
    "r": 35,
    "g": 12,
    "b": 57
  },
  "hsl": {
    "h": 270.667,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21912,
    "c": 0.08343,
    "h": 303.6
  },
  "luminance": 0.00916
}

Semantic roles & 50–950 ramp

primary
#230C39
secondary
#50752C
accent
#E84092
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #230C39

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

Preview Lab → · Contrast checker → · Palette generator →

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