#230D52#230D52

#230D52 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.115 H 289.6°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#230D52
RGBrgb(35, 13, 82)
HSLhsl(259, 73%, 19%)
HSVhsv(259, 84%, 32%)
CMYKcmyk(57.3%, 84.1%, 0%, 67.8%)
CIE-LABlab(10.95, 29.69, -37.64)
CIE-LCHlch(10.95, 47.94, 308.26°)
OKLaboklab(24.58% 0.0386 -0.1082)
OKLCHoklch(24.58% 0.115 289.6)
XYZxyz(2.3596, 1.2543, 8.0988)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230D52 #3C520D
analogous
#0D1952 #230D52 #450D52
triadic
#230D52 #52230D #0D5223
tetradic
#230D52 #520D19 #3C520D #0D5245
square
#230D52 #520D19 #3C520D #0D5245
split-complementary
#230D52 #52450D #19520D
monochromatic
#0B041A #0C051D #230D52 #3A1587 #501EBC

Accessibility & contrast

On white

16.79
#230D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#230D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230D52
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230D52#FFFFFF#000000##FFFFFF
##230D521.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F54
Deuteranopia (green-blind)
#001C51
Tritanopia (blue-blind)
#11212F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #230d52;
/* rgb */ color: rgb(35, 13, 82);
/* oklch */ color: oklch(24.6% 0.115 289.6);
Tailwind
colors: {
  custom: {
    50: '#644e83',
    500: '#230d52',
    950: '#000000',
  },
}
SCSS
$custom: #230d52;
$custom-light: #644e83;
$custom-dark: #000000;
JSON
{
  "hex": "#230d52",
  "rgb": {
    "r": 35,
    "g": 13,
    "b": 82
  },
  "hsl": {
    "h": 259.13,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24575,
    "c": 0.11488,
    "h": 289.6
  },
  "luminance": 0.01254
}

Semantic roles & 50–950 ramp

primary
#230D52
secondary
#6F8D2E
accent
#EF38B5
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #230D52

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

Preview Lab → · Contrast checker → · Palette generator →

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