#230F6A#230F6A

#230F6A is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.6% C 0.143 H 281.6°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#230F6A
RGBrgb(35, 15, 106)
HSLhsl(253, 75%, 24%)
HSVhsv(253, 86%, 42%)
CMYKcmyk(67%, 85.8%, 0%, 58.4%)
CIE-LABlab(14.05, 36.24, -48.61)
CIE-LCHlch(14.05, 60.63, 306.70°)
OKLaboklab(27.55% 0.0288 -0.1403)
OKLCHoklch(27.55% 0.143 281.6)
XYZxyz(3.4647, 1.7393, 13.7860)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F6A #566A0F
analogous
#0F286A #230F6A #500F6A
triadic
#230F6A #6A230F #0F6A23
tetradic
#230F6A #6A0F28 #566A0F #0F6A50
square
#230F6A #6A0F28 #566A0F #0F6A50
split-complementary
#230F6A #6A500F #286A0F
monochromatic
#09041B #110734 #230F6A #3517A0 #461ED5

Accessibility & contrast

On white

15.58
#230F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#230F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F6A
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F6A#FFFFFF#000000##FFFFFF
##230F6A1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276C
Deuteranopia (green-blind)
#002068
Tritanopia (blue-blind)
#002B3D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #230f6a;
/* rgb */ color: rgb(35, 15, 106);
/* oklch */ color: oklch(27.6% 0.143 281.6);
Tailwind
colors: {
  custom: {
    50: '#695196',
    500: '#230f6a',
    950: '#000000',
  },
}
SCSS
$custom: #230f6a;
$custom-light: #695196;
$custom-dark: #000000;
JSON
{
  "hex": "#230f6a",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 106
  },
  "hsl": {
    "h": 253.187,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27552,
    "c": 0.14317,
    "h": 281.6
  },
  "luminance": 0.0174
}

Semantic roles & 50–950 ramp

primary
#230F6A
secondary
#8AA232
accent
#F236C9
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #230F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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