#230B39#230B39

#230B39 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.085 H 304.0°. Best body text is #FFFFFF at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#230B39
RGBrgb(35, 11, 57)
HSLhsl(271, 68%, 13%)
HSVhsv(271, 81%, 22%)
CMYKcmyk(38.6%, 80.7%, 0%, 77.6%)
CIE-LABlab(8.06, 23.13, -24.79)
CIE-LCHlch(8.06, 33.90, 313.02°)
OKLaboklab(21.76% 0.0475 -0.0705)
OKLCHoklch(21.76% 0.085 304)
XYZxyz(1.5512, 0.8921, 3.9606)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230B39 #21390B
analogous
#0C0B39 #230B39 #390B38
triadic
#230B39 #39230B #0B3923
tetradic
#230B39 #390C0B #21390B #0B3839
square
#230B39 #390C0B #21390B #0B3839
split-complementary
#230B39 #38390B #0B390C
monochromatic
#10051A #10051A #230B39 #42156C #621FA0

Accessibility & contrast

On white

17.82
#230B39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230B39
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230B39#FFFFFF#000000##FFFFFF
##230B391.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #230b39;
/* rgb */ color: rgb(35, 11, 57);
/* oklch */ color: oklch(21.8% 0.085 304.0);
Tailwind
colors: {
  custom: {
    50: '#604c70',
    500: '#230b39',
    950: '#000000',
  },
}
SCSS
$custom: #230b39;
$custom-light: #604c70;
$custom-dark: #000000;
JSON
{
  "hex": "#230b39",
  "rgb": {
    "r": 35,
    "g": 11,
    "b": 57
  },
  "hsl": {
    "h": 271.304,
    "s": 67.647,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21762,
    "c": 0.08498,
    "h": 304
  },
  "luminance": 0.00892
}

Semantic roles & 50–950 ramp

primary
#230B39
secondary
#4E762A
accent
#EB3D90
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #230B39

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

Preview Lab → · Contrast checker → · Palette generator →

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