#230C46#230C46

#230C46 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.101 H 295.5°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#230C46
RGBrgb(35, 12, 70)
HSLhsl(264, 71%, 16%)
HSVhsv(264, 83%, 27%)
CMYKcmyk(50%, 82.9%, 0%, 72.5%)
CIE-LABlab(9.50, 26.49, -31.70)
CIE-LCHlch(9.50, 41.31, 309.88°)
OKLaboklab(23.17% 0.0432 -0.0908)
OKLCHoklch(23.17% 0.101 295.5)
XYZxyz(1.9298, 1.0624, 5.8966)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230C46 #2F460C
analogous
#0C1246 #230C46 #400C46
triadic
#230C46 #46230C #0C4623
tetradic
#230C46 #460C12 #2F460C #0C4640
square
#230C46 #460C12 #2F460C #0C4640
split-complementary
#230C46 #46400C #12460C
monochromatic
#0D041A #0D041A #230C46 #3D157A #571EAE

Accessibility & contrast

On white

17.32
#230C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#230C46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230C46
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230C46#FFFFFF#000000##FFFFFF
##230C461.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B48
Deuteranopia (green-blind)
#001A45
Tritanopia (blue-blind)
#191B28
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #230c46;
/* rgb */ color: rgb(35, 12, 70);
/* oklch */ color: oklch(23.2% 0.101 295.5);
Tailwind
colors: {
  custom: {
    50: '#624d7a',
    500: '#230c46',
    950: '#000000',
  },
}
SCSS
$custom: #230c46;
$custom-light: #624d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#230c46",
  "rgb": {
    "r": 35,
    "g": 12,
    "b": 70
  },
  "hsl": {
    "h": 263.793,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.23172,
    "c": 0.10057,
    "h": 295.5
  },
  "luminance": 0.01062
}

Semantic roles & 50–950 ramp

primary
#230C46
secondary
#60822C
accent
#ED3AA6
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050109
muted
#7A777B

Preview Lab

Preview with #230C46

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

Preview Lab → · Contrast checker → · Palette generator →

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